void   sgCEllipsoid::GetGeometry(SG_ELLIPSOID& ell_geom)

 

Description:

Fills the ellipsoid geometry structure.

 

Arguments:

ell_geom - return ellipsoid geometry.

 

Returned value:

Fills the argument with ellipsoid geometry. Read more about ellipsoid geometry at SG_ELLIPSOID

 

Example:

 

sgCEllipsoid*      ell = sgCreateEllipsoid(10.0, 15.0, 40.0, 24, 24);

SG_ELLIPSOID    ell_geo;

ell->GetGeometry(ell_geo);

assert(ell_geo.Radius1==10.0)

assert(ell_geo.Radius2==15.0);

assert(ell_geo.Radius3==40.0);

 

See also:

Objects hierarchy   sgCObject methods SG_ELLIPSOID sgCEllipsoid::Create