Skip to content

Documentation / @geoverse/editor-core / lineSelfIntersects

Function: lineSelfIntersects()

ts
function lineSelfIntersects(coords): boolean;

Defined in: packages/editor-core/src/geometry.ts:80

折线自相交(非相邻段)。返回是否自交。

Parameters

coords

Position[]

Returns

boolean