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
Circlewithradius== 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, theCircleis rotated around the major axes by the angles indicated by the arguments. Finally, theCircleis shifted such thatcentercomes to lie at ccenter.
Corresponds to the constructor above.
Pseudo-constructors for dynamic allocation of
Circles. They create aCircleon 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
Circlewill 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.