Click or drag to resize

SubDCreateFromCylinder Method

Creates a SubD form of a cylinder.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.6
Syntax
public static SubD CreateFromCylinder(
	Cylinder cylinder,
	uint circumferenceFaceCount,
	uint heightFaceCount,
	SubDEndCapStyle endCapStyle,
	SubDEdgeTag endCapEdgeTag,
	SubDComponentLocation radiusLocation
)

Parameters

cylinder
Type: Rhino.GeometryCylinder
The defining cylinder.
circumferenceFaceCount
Type: SystemUInt32
Number of faces around the cylinder.
heightFaceCount
Type: SystemUInt32
Number of faces in the top-to-bottom direction.
endCapStyle
Type: Rhino.GeometrySubDEndCapStyle
The end cap style.
endCapEdgeTag
Type: Rhino.GeometrySubDEdgeTag
The end cap edge tag.
radiusLocation
Type: Rhino.GeometrySubDComponentLocation
The SubD component location.

Return Value

Type: SubD
A new SubD if successful, or null on failure.
See Also