Click or drag to resize

MeshCreateFromCone Method

Constructs a mesh cone

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Mesh CreateFromCone(
	Cone cone,
	int vertical,
	int around
)

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: Mesh

[Missing <returns> documentation for "M:Rhino.Geometry.Mesh.CreateFromCone(Rhino.Geometry.Cone,System.Int32,System.Int32)"]

Exceptions
ExceptionCondition
ArgumentExceptionThrown when cone is invalid.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also