Click or drag to resize
ExtrusionCreateCylinderExtrusion Method
Gets an extrusion form of a cylinder.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static Extrusion CreateCylinderExtrusion(
	Cylinder cylinder,
	bool capBottom,
	bool capTop
)

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: Extrusion
Extrusion on success. null on failure.
See Also