Selva Compute API Reference - v2.1.0
    Preparing search index...
    Index

    Constructors

    Properties

    angleInDegrees: number
    angleInRadians: number
    apexPoint: number[]

    Point at tip of the cone.

    axis: number[]

    Unit vector axis of cone.

    basePoint: number[]

    Center of base circle.

    height: number

    Gets or sets the height of the circular right cone.

    isValid: boolean

    true if plane is valid, height is not zero and radius is not zero.

    radius: number

    Gets or sets the radius of the cone.

    Methods

    • Parameters

      • capBottom: boolean

        true if the bottom should be filled with a surface. false otherwise.

      Returns Brep

      A brep (polysurface) representation of this cone values.

      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.

    • Returns NurbsSurface

      A Nurbs surface representation of the cone or null.

      Constructs a Nurbs surface representation of this Cone. This is synonymous with calling NurbsSurface.CreateFromCone().