Click or drag to resize
DigitalRuneCylinderShape Constructor (Single, Single)
Initializes a new instance of the CylinderShape class with the given radius and height.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public CylinderShape(
	float radius,
	float height
)

Parameters

radius
Type: SystemSingle
The radius.
height
Type: SystemSingle
The height (which is along the y-axis).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionradius is negative.
ArgumentOutOfRangeExceptionheight is negative.
See Also