Class: CascadedPolygonUnion

jsts.operation.union.CascadedPolygonUnion

new CascadedPolygonUnion(geoms)

Creates a new instance to union the given collection of Geometrys.
Parameters:
Name Type Description
geoms Array.<jsts.geom.Geometry> a collection of Polygonal Geometrys.
Source:

Members

geomFactory :jsts.geom.GeometryFactory

Type:
Source:

inputPolys :Array.<jsts.geom.Geometry>

Type:
Source:

(constant) STRTREE_NODE_CAPACITY :number

The effectiveness of the index is somewhat sensitive to the node capacity. Testing indicates that a smaller capacity is better. For an STRtree, 4 is probably a good number (since this produces 2x2 "squares").
Type:
  • number
Source:

Methods

(static) union(polys) → {jsts.geom.Geometry}

Computes the union of a collection of Polygonal Geometrys.
Parameters:
Name Type Description
polys Array.<jsts.geom.Geometry> a collection of Polygonal Geometrys.
Source:
Returns:
Type
jsts.geom.Geometry

union() → (nullable) {jsts.geom.Geometry}

Computes the union of the input geometries.
Source:
Returns:
the union of the input geometries, null if no input geometries were provided.
Type
jsts.geom.Geometry