RhinoCommon API
MeshCreateFromCone Method (Cone, Int32, Int32) |
Constructs a solid mesh cone.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Mesh CreateFromCone( Cone cone, int vertical, int around )
Public Shared Function CreateFromCone ( cone As Cone, vertical As Integer, around As Integer ) As Mesh
Parameters
- cone
- Type: Rhino.GeometryCone
[Missing <param name="cone"/> documentation for "M:Rhino.Geometry.Mesh.CreateFromCone(Rhino.Geometry.Cone,System.Int32,System.Int32)"]
- vertical
- Type: SystemInt32
Number of faces in the top-to-bottom direction. - around
- Type: SystemInt32
Number of faces around the cone.
Return Value
Type: MeshA valid mesh if successful.

Exception | Condition |
---|---|
ArgumentException | Thrown when cone is invalid. |

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14