jakke-graphics-ts
    Preparing search index...

    Function getFootPointOnLine

    • Find foot point on line.

      Parameters

      • line: Line

        Line passing two points.

      • pt: Vertex3d

        Point to foot on line.

      Returns undefined | { pt: Vertex3d; t: number }

      If you set each point of the line which has almost same coordinate each other, it will return origin and param as 0.