Skip to content

distanceToPath

distanceToPath(point, path): number

Shortest distance from a point to path

Parameters

point: number[]

path: number[][]

Returns

number

Source

graphics/geometry.ts:178