Cylinder.Cylinder

Cylinder()

Initializes a new instance of the Cylinder class.

public Cylinder()

See Also


Cylinder(double, double)

Initializes a new instance of the Cylinder class.

public Cylinder(double radius, double height)
ParameterTypeDescription
radiusDoubleRadius of the top and bottom cap.
heightDoubleHeight.

See Also


Cylinder(double, double, double)

Initializes a new instance of the Cylinder class.

public Cylinder(double radiusTop, double radiusBottom, double height)
ParameterTypeDescription
radiusTopDoubleRadius top.
radiusBottomDoubleRadius bottom.
heightDoubleHeight.

See Also


Cylinder(double, double, double, int, int, bool)

Initializes a new instance of the Cylinder class.

public Cylinder(double radiusTop, double radiusBottom, double height, int radialSegments, 
    int heightSegments, bool openEnded)
ParameterTypeDescription
radiusTopDoubleRadius of cylinder’s top cap.
radiusBottomDoubleRadius of cylinder’s bottom cap.
heightDoubleHeight of the cylinder.
radialSegmentsInt32Radial segments of both top and bottom circles..
heightSegmentsInt32Height segments.
openEndedBooleanIf set to true the cylinder would have no bottom/top caps..

See Also


Cylinder(string, double, double, double, int, int, bool, double, double)

Initializes a new instance of the Cylinder class.

public Cylinder(string name, double radiusTop, double radiusBottom, double height, 
    int radialSegments, int heightSegments, bool openEnded, double thetaStart, double thetaLength)
ParameterTypeDescription
nameStringThe name of this object
radiusTopDoubleRadius of cylinder’s top cap.
radiusBottomDoubleRadius of cylinder’s bottom cap.
heightDoubleHeight of the cylinder.
radialSegmentsInt32Radial segments of both top and bottom circles..
heightSegmentsInt32Height segments.
openEndedBooleanIf set to true the cylinder would have no bottom/top caps..
thetaStartDoubleTheta start.
thetaLengthDoubleTheta length.

See Also