 | CylinderShape Constructor (Single, Single) |
Initializes a new instance of the
CylinderShape class with the given radius
and height.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntaxpublic CylinderShape(
float radius,
float height
)
Public Sub New (
radius As Single,
height As Single
)
public:
CylinderShape(
float radius,
float height
)
new :
radius : float32 *
height : float32 -> CylinderShape
Parameters
- radius
- Type: SystemSingle
The radius. - height
- Type: SystemSingle
The height (which is along the y-axis).
Exceptions
See Also