RhinoCommon API
GetTruncatedConeGetMesh Method (Int32, Int32, Int32, Mesh) |
Prompt for the getting of a mesh truncated cone.
Namespace: Rhino.Input.Custom
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 7.0

public Result GetMesh( ref int verticalFaces, ref int aroundFaces, ref int capStyle, out Mesh truncatedCone )
Public Function GetMesh ( ByRef verticalFaces As Integer, ByRef aroundFaces As Integer, ByRef capStyle As Integer, <OutAttribute> ByRef truncatedCone As Mesh ) As Result
Parameters
- verticalFaces
- Type: SystemInt32
The number of faces in the vertical direction. - aroundFaces
- Type: SystemInt32
The number of faces in the around direction - capStyle
- Type: SystemInt32
Set to 0 if you don't want the prompt, 3 is triangles, 4 is quads. - truncatedCone
- Type: Rhino.GeometryMesh
The truncated cone in Mesh form.
Return Value
Type: ResultThe result of the getting operation.

The prompt for capStyle will only be seen if it's not zero, aroundFaces is even
and the solid option is on.
