Skip to content

API > @blocksuite/blocks > linePolygonIntersects

Function: linePolygonIntersects ​

linePolygonIntersects( sp, ep, points): PointLocation[] | null

Parameters ​

ParameterType
spIVec
epIVec
pointsIVec[]

Returns ​

PointLocation[] | null

Defined In ​

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