M_Rhino_Geometry_Mesh_CreateFromCone - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a mesh cone
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Mesh CreateFromCone(
Cone cone,
int vertical,
int around
)
VB
Public Shared Function CreateFromCone (
cone As Cone,
vertical As Integer,
around As Integer
) As Mesh
- cone
- Type: Rhino.Geometry.Cone
[Missing documentation for "M:Rhino.Geometry.Mesh.CreateFromCone(Rhino.Geometry.Cone,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 cone
Type: Mesh
[Missing documentation for "M:Rhino.Geometry.Mesh.CreateFromCone(Rhino.Geometry.Cone,System.Int32,System.Int32)"]
Exception | Condition |
---|---|
ArgumentException | Thrown when cone is invalid. |
Supported in: 6.0.16224.21491, 5D58w