static sgCEllipsoid* sgCEllipsoid::Create(double radius1, double radius2, double radius3, short merid_cnt, short parall_cnt)
Description:
Creates an object of the ELLIPSOID class with the center in the coordinate origin.
Arguments:
radius1 - ellipsoid radius on the X axis,
radius2 - ellipsoid radius on the Y axis,
radius3 - ellipsoid radius on the Z axis,
merid_cnt - the number of meridians,
parall_cnt - the number of parallels.
More about the coordinates meanings - SG_ELLIPSOID
Returned value:
Returns the pointer to the created object. If one of the arguments is negative or equal to zero, the function returns NULL.
Following shortening is set:
#define sgCreateEllipsoid sgEllipsoid::Create
Example:
sgCEllipsoid* ell = sgCreateEllipsoid(10.0, 20.0, 5.0, 24, 36);
See also:
Objects hierarchy sgCObject methods SG_ELLIPSOID