IFClite TypeScript API
    Preparing search index...

    Class SymbolicFillArea

    A 2D filled region (IfcAnnotationFillArea / IfcAnnotationFillAreaOccurrence).

    Stores one outer ring of 2D points plus an offset table indexing inner rings (holes). Both rings are stored flat in points so the JS side can view the buffer as one Float32Array. The optional hatch_* fields encode IfcFillAreaStyleHatching (line spacing, primary/secondary angles, line width) when the IfcStyledItem chain resolves to a hatching style; absent styles render as a solid fill.

    holes_offsets is an inclusive-prefix array describing where each hole begins. The outer ring is implicitly at points[0..holes_offsets[0]] (or all points if holes_offsets is empty). Each holes_offsets[i] is a vertex index, not a byte offset.

    Index
    expressId: number
    fillA: number
    fillB: number
    fillG: number
    fillR: number
    geometryItemId: number | undefined
    hasHatching: boolean
    hatchAngle: number
    hatchAngleSecondary: number
    hatchLineWidth: number
    hatchSpacing: number
    holeCount: number
    holesOffsets: Uint32Array

    Vertex indices marking the start of each hole. Empty = no holes.

    ifcType: string
    pointCount: number
    points: Float32Array

    Flattened ring vertices.

    repIdentifier: string
    worldY: number
    • Returns void

    • Returns void