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

Hierarchy (View Summary)

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

  • get loops(): readonly AcGeLoop2dType[]
  • The loops of this area

    Returns readonly AcGeLoop2dType[]

  • get outter(): undefined | AcGeLoop2dType
  • Outter loop of this area

    Returns undefined | AcGeLoop2dType

Methods

  • Append one loop to loops of this area. If it is the first loop added, it is the outter loop. Otherwise, it is an inner loop.

    Parameters

    Returns void

  • Return boundary points of this area

    Parameters

    • numPoints: number

      Input the nubmer of points returned for arc segmentation

    Returns AcGePoint2d[][]

    Return points

  • Transforms the entity by applying the input matrix.

    Parameters

    Returns this