RhinoCommon API
BrepCreateFromCone Method |
Constructs a Brep representation of the cone with a single
face for the cone, an edge along the cone seam,
and vertices at the base and apex ends of this seam edge.
The optional cap is a single face with one circular edge
starting and ending at the base vertex.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public static Brep CreateFromCone( Cone cone, bool capBottom )
Public Shared Function CreateFromCone ( cone As Cone, capBottom As Boolean ) As Brep
Parameters
- cone
- Type: Rhino.GeometryCone
A cone value. - capBottom
- Type: SystemBoolean
if true the base of the cone should be capped.
Return Value
Type: BrepA Brep if successful, null on error.
