gis-tools-ts - v0.6.0
    Preparing search index...

    Interface IntersectionOfSegmentsRobust<D>

    An intersection of two segments including displacement vectors u and t are where the intersection occurs

    interface IntersectionOfSegmentsRobust<D extends MValue = Properties> {
        point: VectorPoint<D>;
        t: number;
        tAngle: number;
        tVec: VectorPoint<D>;
        u: number;
        uAngle: number;
        uVec: VectorPoint<D>;
    }

    Type Parameters

    • D extends MValue = Properties
    Index

    Properties

    point: VectorPoint<D>

    the intersection point

    t: number

    where along the second segment the intersection occurs

    tAngle: number

    Absolute angle of segment 'b' in radians [-PI, PI]

    tVec: VectorPoint<D>

    displacement vector from the second segment

    u: number

    where along the first segment the intersection occurs

    uAngle: number

    Absolute angle of segment 'a' in radians [-PI, PI]

    uVec: VectorPoint<D>

    displacement vector from the first segment