Skip to main content
Version: 4.1.0

closestPointOnLine

Callable

  • closestPointOnLine(p0: Point2D, p1: Point2D, p2: Point2D): { bounded: boolean; distance: number; point: Point2D }

  • Parameters

    • p0: Point2D
    • p1: Point2D
    • p2: Point2D

    Returns { bounded: boolean; distance: number; point: Point2D }

    • bounded: boolean
    • distance: number
    • point: Point2D