ExtrusionCreateCylinderExtrusion Method |
Gets an extrusion form of a cylinder.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static Extrusion CreateCylinderExtrusion(
Cylinder cylinder,
bool capBottom,
bool capTop
)
Public Shared Function CreateCylinderExtrusion (
cylinder As Cylinder,
capBottom As Boolean,
capTop As Boolean
) As Extrusion
Parameters
- cylinder
- Type: Rhino.GeometryCylinder
IsFinite must be true. - capBottom
- Type: SystemBoolean
If true, the end at cylinder.Height1 will be capped. - capTop
- Type: SystemBoolean
If true, the end at cylinder.Height2 will be capped.
Return Value
Type:
ExtrusionExtrusion on success. null on failure.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also