IFClite TypeScript API
    Preparing search index...

    Interface ArchitecturalDrawing2D

    Enhanced 2D drawing with architectural features

    interface ArchitecturalDrawing2D {
        architecturalLines: ArchitecturalLine[];
        bounds: Bounds2D;
        config: SectionConfig;
        cutPolygons: DrawingPolygon[];
        layerBaseCutPolygons?: DrawingPolygon[];
        layers: LayerDefinition[];
        lines: DrawingLine[];
        openings: OpeningInfo[];
        projectionPolygons: DrawingPolygon[];
        stats: {
            cutLineCount: number;
            hiddenLineCount: number;
            polygonCount: number;
            processingTimeMs: number;
            projectionLineCount: number;
            silhouetteLineCount: number;
            totalTriangles: number;
        };
        symbols: ArchitecturalSymbol[];
    }

    Hierarchy (View Summary)

    Index
    architecturalLines: ArchitecturalLine[]

    Lines with architectural styling

    bounds: Bounds2D

    Bounding box in 2D drawing space

    Section configuration used

    cutPolygons: DrawingPolygon[]

    Cut polygons (for hatching)

    layerBaseCutPolygons?: DrawingPolygon[]

    Opaque base cross-sections (one set per multi-material entity) drawn behind the per-layer fills in the 3D section overlay so a cut never reads hollow. Consumed ONLY by the 3D overlay; absent from cutPolygons so the flat 2D drawing, SVG export, and measure/snap paths are unaffected. Empty/omitted when no multi-material (layered) element is cut.

    layers: LayerDefinition[]

    Layer definitions

    lines: DrawingLine[]

    All classified lines

    openings: OpeningInfo[]

    Opening relationships used

    projectionPolygons: DrawingPolygon[]

    Projection polygons (visible surfaces beyond cut)

    stats: {
        cutLineCount: number;
        hiddenLineCount: number;
        polygonCount: number;
        processingTimeMs: number;
        projectionLineCount: number;
        silhouetteLineCount: number;
        totalTriangles: number;
    }

    Processing statistics

    Architectural symbols (door swings, etc.)