static sgCSphericBand* sgCSphericBand::Create(double radius, double beg_koef, double end_koef, short merid_cnt)
Creates an object of the SPHERICAL BAND class with the generating sphere center in the coordinate origin and the normal along the Z axis.
radius - spherical band radius,
beg_koef - start clipping coefficient (from -1 to 1),
end_koef - end clipping coefficient (from -1 to 1),
merid_cnt - number of meridians.
More about the coordinates meanings - SG_SPHERIC_BAND
Returns the pointer to the created object. If the radius is negative or the number of meridians is negative, or the clipping coefficients are smaller than -1 or more than 1, the function returns NULL.
Following shortening is set:
#define sgCreateSphericBand sgSphericBand::Create
sgCSphericBand* spB = sgCreateSphericBand(5.0, -0.5, 0.5, 24);