API > @blocksuite/blocks > linePolygonIntersects
Function: linePolygonIntersects ​
linePolygonIntersects(
sp,ep,points):PointLocation[] |null
Parameters ​
| Parameter | Type | 
|---|---|
sp | IVec | 
ep | IVec | 
points | IVec[] | 
Returns ​
PointLocation[] | null
Defined In ​
packages/blocks/src/surface-block/utils/math-utils.ts:298