void
Circle (const Point& ccenter, const real ddiameter, [const real angle_x = 0, [const real angle_y = 0, [const real angle_z = 0, [const unsigned short nnumber_of_points = DEFAULT_NUMBER_OF_POINTS
]]]])Creates a
Circle
withradius
== ddiameter/2 in the x-z plane and centered at the origin with nnumber_of_pointsPoints
. If any of the arguments angle_x, angle_y, or angle_z is!= 0
, theCircle
is rotated around the major axes by the angles indicated by the arguments. Finally, theCircle
is shifted such thatcenter
comes to lie at ccenter.
Corresponds to the constructor above.
Pseudo-constructors for dynamic allocation of
Circles
. They create aCircle
on the free store and allocate memory for it usingnew(Circle)
. They return a pointer to the newCircle
.If c is a non-zero pointer or a reference, the new
Circle
will be a copy of c. If the new object is not meant to be a copy of an existing one, ‘0’ must be passed tocreate_new<Circle>()
as its argument. See Dynamic Allocation of Shapes, for more information.