PiMath API
    Preparing search index...

    Type Alias LineIntersection

    LineIntersection:
        | {
            hasIntersection: true;
            isParallel: false;
            isSame: false;
            point: Point;
        }
        | {
            hasIntersection: false;
            isParallel: boolean;
            isSame: boolean;
            point: null;
        }

    Result of a line intersection query (2D or 3D). Discriminated on hasIntersection: when true, point is a Point and both flags are false.