Skip to content

API > @blocksuite/blocks > polyLineNearestPoint

Function: polyLineNearestPoint ​

polyLineNearestPoint(points, point): IVec

Parameters ​

ParameterType
pointsIVec[]
pointIVec

Returns ​

IVec

Defined In ​

packages/blocks/src/surface-block/utils/math-utils.ts:381