IFClite TypeScript API
    Preparing search index...

    Interface Polygon2D

    @ifc-lite/drawing-2d

    2D architectural drawing generation from IFC models. Generates section cuts, floor plans, and elevations with:

    • Cut lines (geometry intersected by section plane)
    • Projection lines (visible geometry beyond cut)
    • Hidden lines (occluded geometry, dashed)
    • Silhouettes and feature edges
    • Hatching (material-based fill patterns by IFC type)
    • Vector output (SVG)
    interface Polygon2D {
        holes: Point2D[][];
        outer: Point2D[];
    }
    Index
    holes: Point2D[][]

    Inner holes (clockwise winding)

    outer: Point2D[]

    Outer boundary (counter-clockwise winding)