Sphere.Sphere

Sphere()

Initializes a new instance of the Sphere with default radius 1.

public Sphere()

See Also


Sphere(double)

Initializes a new instance of the Sphere class with specified radius.

public Sphere(double radius)
ParameterTypeDescription
radiusDoubleRadius.

See Also


Sphere(double, int, int)

Initializes a new instance of the Sphere class with specified radius, width segments and height segments.

public Sphere(double radius, int widthSegments, int heightSegments)
ParameterTypeDescription
radiusDoubleRadius of the sphere.
widthSegmentsInt32Width segments.
heightSegmentsInt32Height segments.

See Also


Sphere(string, double, int, int, double, double, double, double)

Initializes a new instance of the Sphere class.

public Sphere(string name, double radius, int widthSegments, int heightSegments, double phiStart, 
    double phiLength, double thetaStart, double thetaLength)
ParameterTypeDescription
nameStringName.
radiusDoubleRadius of the sphere.
widthSegmentsInt32Width segments.
heightSegmentsInt32Height segments.
phiStartDoublePhi start.
phiLengthDoublePhi length.
thetaStartDoubleTheta start.
thetaLengthDoubleTheta length.

See Also