2d area defined by one outter loop and multiple inner loops

Hierarchy (View Summary)

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(): AcGeBox2d
  • 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 AcGeBox2d

Methods

  • Return boundary points of this area

    Parameters

    • numPoints: number

      Input the nubmer of points returned for arc segmentation

    Returns AcGePoint2d[][]

    Return points