M_Rhino_Geometry_Mesh_CreateFromCylinder - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a mesh cylinder
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Mesh CreateFromCylinder(
Cylinder cylinder,
int vertical,
int around
)
VB
Public Shared Function CreateFromCylinder (
cylinder As Cylinder,
vertical As Integer,
around As Integer
) As Mesh
- cylinder
- Type: Rhino.Geometry.Cylinder
[Missing documentation for "M:Rhino.Geometry.Mesh.CreateFromCylinder(Rhino.Geometry.Cylinder,System.Int32,System.Int32)"] - vertical
- Type: System.Int32
Number of faces in the top-to-bottom direction - around
- Type: System.Int32
Number of faces around the cylinder
Type: Mesh
[Missing documentation for "M:Rhino.Geometry.Mesh.CreateFromCylinder(Rhino.Geometry.Cylinder,System.Int32,System.Int32)"]
Exception | Condition |
---|---|
ArgumentException | Thrown when cylinder is invalid. |
Supported in: 6.0.16224.21491, 5D58w