SYS_Math.union() method
计算两个多边形的并集
Signature
typescript
union(polygon1: TSYS_MathPolygonInput, polygon2: TSYS_MathPolygonInput): Array<Array<ISYS_MathPoint>>;1
Parameters
Parameter | Type | Description |
|---|---|---|
polygon1 | 多边形 1 | |
polygon2 | 多边形 2 |
Returns
Array<Array<ISYS_MathPoint>>
并集结果的离散点环数组,每个环为一个独立的多边形