const SG_CIRCLE*   sgCCircle::GetGeometry() const

 

Description:

Returns the pointer to the CIRCLE object geometry.

 

 

Arguments:

No arguments.

 

Returned value:

Returns the pointer to the CIRCLE object geometry. Read more about the circle geometry at SG_CIRCLE

 

 

Example:

 

SG_POINT    cirCenter = {1.0, 0.0, 1.0};

SG_VECTOR   cirNorm = {0.0, 0.0, 1.0};

SG_CIRCLE   cirGeom;

cirGeom.FromCenterRadiusNormal(cirCenter, 5.0, cirNorm);

sgCCircle*   crcl = sgCreateCircle(cirGeom);

assert(crcl->GetGeometry()->radius==5.0);

 

See also:

Objects hierarchy   sgCObject methods   SG_CIRCLE SG_POINT   SG_VECTOR