Class: UnaryUnionOp

jsts.operation.union.UnaryUnionOp

new UnaryUnionOp(geoms, geomFactopt)

Parameters:
Name Type Attributes Description
geoms
geomFact jsts.geom.GeometryFactory <optional>
a GeometryFactory.
Source:

Methods

(static) union(geoms, gemFactopt) → {jsts.geom.Geometry}

Parameters:
Name Type Attributes Description
geoms
gemFact jsts.geom.GeometryFactory <optional>
a GeometryFactory.
Source:
Returns:
Type
jsts.geom.Geometry

union() → {jsts.geom.Geometry|jsts.geom.GeometryCollection}

Gets the union of the input geometries. If no input geometries were provided, a POINT EMPTY is returned.
Source:
Returns:
a Geometry containing the union or an empty GEOMETRYCOLLECTION if no geometries were provided in the input.
Type
jsts.geom.Geometry | jsts.geom.GeometryCollection