@vcmap/core
    Preparing search index...

    Function getClosestPointOn2DLine

    • Returns the closest point on a 2D line. the Z index is taken from the point.

      Parameters

      • start: Coordinate

        line segment start

      • end: Coordinate

        line segment end

      • point: Coordinate

        point to project

      Returns Coordinate