Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface LineCircleIntersection

    interface LineCircleIntersection {
        aInside: boolean;
        bInside: boolean;
        contained: boolean;
        intersections: Point[];
        outside: boolean;
        tangent: boolean;
    }
    Index

    Properties

    aInside: boolean

    Is point A inside the circle?

    bInside: boolean

    Is point B inside the circle?

    contained: boolean

    Is the segment AB contained within the circle?

    intersections: Point[]

    Intersection points: zero, one, or two

    outside: boolean

    Is the segment AB fully outside the circle?

    tangent: boolean

    Is the segment AB tangent to the circle?