Class: CPolygonSetCombineEngine

CPolygonSetCombineEngine

new CPolygonSetCombineEngine()

common/Geometry.js, line 8688

PolygonSet合併引擎

Members

static,readonlyCPolygonSetCombineEngine.COMBINE_OPNumber

合併類型

Properties:
Name Type Default Description
NONE Number 0
AND Number 1
OR Number 2
SUBDST Number 3
SUBSRC Number 4

Methods

staticCPolygonSetCombineEngine.CombinePolygonSet(Delta, Op, _PolygonSetA, _PolygonSetB, PolygonSet){Boolean}

common/Geometry.js, line 8857

合併兩個PolygonSet。

Name Type Description
Delta Number

指定誤差範圍。

Op CPolygonSetCombineEngine.COMBINE_OP

合併的方式。

_PolygonSetA GeoPolygonSet

PolygonSetA。

_PolygonSetB GeoPolygonSet

PolygonSetB。

PolygonSet GeoPolygonSet

此為out參數, 需在執行前先配置好。

Returns:
Type Description
Boolean 是否成功。