findNearestOnPath
findNearestOnPath(
p
,path
,distance
):number
[] |null
Find nearest point on path
Parameters
• p: number
[]
• path: number
[][]
• distance: number
Returns
number
[] | null
nearest point on path
findNearestOnPath(
p
,path
,distance
):number
[] |null
Find nearest point on path
• p: number
[]
• path: number
[][]
• distance: number
number
[] | null
nearest point on path