M_Rhino_Geometry_Extrusion_CreateCylinderExtrusion - mcneel/rhinocommon-api-docs GitHub Wiki

Extrusion.CreateCylinderExtrusion Method

Gets an extrusion form of a cylinder.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Extrusion CreateCylinderExtrusion(
	Cylinder cylinder,
	bool capBottom,
	bool capTop
)

VB

Public Shared Function CreateCylinderExtrusion ( 
	cylinder As Cylinder,
	capBottom As Boolean,
	capTop As Boolean
) As Extrusion

Parameters

 

cylinder
Type: Rhino.Geometry.Cylinder
IsFinite must be true.
capBottom
Type: System.Boolean
If true, the end at cylinder.Height1 will be capped.
capTop
Type: System.Boolean
If true, the end at cylinder.Height2 will be capped.

Return Value

Type: Extrusion
Extrusion on success. null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Extrusion Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️