IFClite TypeScript API
    Preparing search index...

    Interface HorizontalSegment

    One IfcAlignmentHorizontalSegment, in metres and radians.

    interface HorizontalSegment {
        direction: number;
        end: readonly [number, number];
        endCurvature: number;
        endDirection: number;
        endRadius: number;
        length: number;
        sourceId: string;
        start: readonly [number, number];
        startCurvature: number;
        startRadius: number;
        type: HorizontalSegmentType;
    }
    Index
    direction: number

    StartDirection: radians, counter-clockwise from +X.

    end: readonly [number, number]

    Evaluated end state — for the transition code and the terminating segment.

    endCurvature: number
    endDirection: number
    endRadius: number
    length: number
    sourceId: string
    start: readonly [number, number]
    startCurvature: number

    Signed curvature at start and end (1/R, 0 for infinite).

    startRadius: number

    Signed: positive = counter-clockwise; 0 = infinite.