Click or drag to resize

GetTruncatedConeGetMesh Method (Int32, Int32, Int32, Mesh)

Prompt for the getting of a mesh truncated cone.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Result GetMesh(
	ref int verticalFaces,
	ref int aroundFaces,
	ref int capStyle,
	out Mesh truncatedCone
)

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: Result
The result of the getting operation.
Remarks
The prompt for capStyle will only be seen if it's not zero, aroundFaces is even and the solid option is on.
See Also