Click or drag to resize
MeshCreateFromCylinder Method
Rhino 5 for Windows
Constructs a mesh cylinder

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
Syntax
public static Mesh CreateFromCylinder(
	Cylinder cylinder,
	int vertical,
	int around
)

Parameters

cylinder
Type: Rhino.GeometryCylinder

[Missing <param name="cylinder"/> documentation for "M:Rhino.Geometry.Mesh.CreateFromCylinder(Rhino.Geometry.Cylinder,System.Int32,System.Int32)"]

vertical
Type: SystemInt32
Number of faces in the top-to-bottom direction
around
Type: SystemInt32
Number of faces around the cylinder

Return Value

Type: Mesh

[Missing <returns> documentation for "M:Rhino.Geometry.Mesh.CreateFromCylinder(Rhino.Geometry.Cylinder,System.Int32,System.Int32)"]

Exceptions
ExceptionCondition
ArgumentExceptionThrown when cylinder is invalid.
See Also