jakke-graphics-ts
    Preparing search index...

    Function getIntersection

    • Get intersection point from lines.

      Parameters

      • li0: Line

        First line of lines.

      • li1: Line

        Second line of lines.

      • fromExtended: boolean = false

        When it's true, intersection will be calculated including extended lines of li0, li1. Otherwise, only within li0, li1 boundary.

      Returns { message?: string; pt?: Vertex3d; result: boolean }

      When the intersection exists, result will be true and pt will be that point. Otherwise, result false and message will include the reason of it.