Hierarchy

  • AcGeCurve3d
    • AcGeSpline3d

Constructors

Properties

_boundingBoxNeedsUpdate: boolean

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

  • get degree(): number
  • Degree of the spline to be created.

    Returns number

  • get endPoint(): AcGePoint3d
  • The end point of this spline

    Returns AcGePoint3d

  • get length(): number
  • Returns number

  • get startPoint(): AcGePoint3d
  • The start point of this spline

    Returns AcGePoint3d

Methods

  • Returns AcGeBox3d

  • 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

  • Parameters

    Returns number[][]

  • 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

    • OptionalnumPoints: number

      Input the nubmer of points returned

    Returns AcGePoint3d[]

    Return an array of point

  • Parameters

    Returns this

  • Return new shape translated by given vector. Translation vector may be also defined by a pair of numbers.

    Parameters

    Returns AcGeShape3d