Hierarchy

  • AcGeCurve3d
    • AcGeSpline3d

Constructors

Properties

_boundingBoxNeedsUpdate: boolean = false

Accessors

  • get boundingBoxNeedUpdate(): boolean
  • When this is set, it calculates the bounding box of this shape and resets this property to false. Default is false.

    Returns boolean

  • get box(): AcGeBox3d
  • The bounding box of this shape. Because it is a time-consuming operation to calculate the bounding box of one shape, the bounding box value is cached. It will be calculated again lazily once there are any changes to properties of this shape.

    Returns AcGeBox3d

  • get closed(): boolean
  • Return true if its start point is identical to its end point. Otherwise, return false.

    Returns boolean

  • set closed(value: boolean): void
  • Return true if its start point is identical to its end point. Otherwise, return false.

    Parameters

    • value: boolean

    Returns void

Methods

  • Return the value of the control point at position index in the list of control points. If index is negative or more than the number of control points in the spline, then point is set to the last control point.

    Parameters

    • index: number

      Input index (0 based) of point to get

    Returns AcGeVector3dLike

  • Return the value of the control point at position index in the list of control points. If index is negative or more than the number of control points in the spline, then point is set to the last control point.

    Parameters

    • index: number

      Input index (0 based) of point to get

    Returns AcGeVector3dLike

  • Divide this spline into the specified nubmer of points those points as an array of points.

    Parameters

    • numPoints: number = 100

      Input the nubmer of points returned

    Returns AcGePoint3d[]

    Return an array of point