Api
ClipperPolygonsintersect
OpenAPI > Clipper > polygonsIntersect
OpenAPI.Clipper.polygonsIntersect() method
判断两个多边形是否相交的函数
Signature:
static polygonsIntersect(polygon1: {
X: number;
Y: number;
}[], polygon2: {
X: number;
Y: number;
}[]): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
polygon1 | { X: number; Y: number; }[] | |
polygon2 | { X: number; Y: number; }[] |
boolean