IFClite TypeScript API
    Preparing search index...

    Interface VisibilitySegment

    interface VisibilitySegment {
        end: Point2D;
        start: Point2D;
        tEnd: number;
        tStart: number;
        visible: boolean;
    }
    Index
    end: Point2D
    start: Point2D
    tEnd: number
    tStart: number

    Affine parameters of start/end along the parent line (0..1), the same parameterisation the classifier sampled visibility with. Callers carrying per-endpoint metadata (view depth) over onto split segments must lerp with these so the metadata and the visibility decision cannot disagree.

    visible: boolean