const SG_POINT* sgCPoint::GetGeometry()
Description:
Returns the pointer to the POINT object geometry.
Arguments:
No arguments.
Returned value:
Returns the pointer to the POINT object geometry. Read more about the point geometry at SG_POINT
Example:
sgCPoint* pnt = sgCreatePoint(10.0, 15.0, 40.0);
assert(pnt->GetGeometry()->x==10.0);
assert(pnt->GetGeometry()->y==15.0);
assert(pnt->GetGeometry()->z==40.0);
See also:
Objects hierarchy sgCObject methods SG_POINT sgCPoint::Create