IFClite TypeScript API
    Preparing search index...

    Interface ArchitecturalLine

    Extended drawing line with architectural styling

    interface ArchitecturalLine {
        category: LineCategory;
        depth: number;
        depthEnd?: number;
        entityId: number;
        ifcType: string;
        line: Line2D;
        lineStyle: ArchitecturalLineStyle;
        lineWeight: LineWeight;
        modelIndex: number;
        semanticType: SemanticLineType;
        visibility: VisibilityState;
    }

    Hierarchy (View Summary)

    Index
    category: LineCategory

    Line classification

    depth: number

    VIEW DEPTH at the line's start point (issue #2639, see the convention comment in projection-bands.ts): the negated flip-adjusted signed depth, so 0 at the cut plane, increasing into the kept half, smaller means nearer the viewer. Hidden-line removal compares this against the occluder depth buffer, which stores the same quantity.

    depthEnd?: number

    View depth at the line's END point, when it differs from depth (e.g. a sloped edge). The hidden-line classifier lerps depth..depthEnd along the 2D line per sample; omitted means constant depth.

    entityId: number

    Source IFC entity expressId

    ifcType: string

    IFC type name (e.g., "IfcWall")

    line: Line2D

    2D line geometry

    Line style (solid, dashed, etc.)

    lineWeight: LineWeight

    Line weight for rendering

    modelIndex: number

    Model index for multi-model federation

    semanticType: SemanticLineType

    Semantic type for layer assignment

    visibility: VisibilityState

    Visibility after hidden line removal