Cone

Cone

Cone

Members

angleInDegrees

angleInRadians

apexPoint :Array.<x, y, z>

Point at tip of the cone.
Type:
  • Array.<x, y, z>

axis :Array.<x, y, z>

Unit vector axis of cone.
Type:
  • Array.<x, y, z>

basePoint :Array.<x, y, z>

Center of base circle.
Type:
  • Array.<x, y, z>

height :double

Gets or sets the height of the circular right cone.
Type:
  • double

isValid :bool

true if plane is valid, height is not zero and radius is not zero.
Type:
  • bool

radius :double

Gets or sets the radius of the cone.
Type:
  • double

Methods

toBrep(capBottom) → {Brep}

Gets 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.
Parameters:
Name Type Description
capBottom bool true if the bottom should be filled with a surface. false otherwise.
Returns:
A brep (polysurface) representation of this cone values.
Type
Brep

toNurbsSurface() → {NurbsSurface}

Constructs a Nurbs surface representation of this Cone. This is synonymous with calling NurbsSurface.CreateFromCone().
Returns:
A Nurbs surface representation of the cone or null.
Type
NurbsSurface