The class represeting both full circles and circular arcs in 3d space. The ellipse arc is defined by a center point, radius, start angle, end angle, a normal vector, and a reference vector. If start angle is equal to 0 and end angle is equal to 2 * Math.PI, it represents a full circle.

Hierarchy

  • AcGeCurve3d
    • AcGeCircArc3d

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

  • get isLargeArc(): 0 | 1
  • Return true if the arc is a large arc whose delta angle value is greater than PI.

    Returns 0 | 1

Methods

  • Calculate angle between the specified vec and the reference vector of this arc.

    Parameters

    Returns number

    Return angle between the specified vec and the reference vector of this arc.

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

    Parameters

    • numPoints: number

      Input the nubmer of points returned

    Returns AcGePoint3d[]

    Return an array of point