Constructor Constructor
Constructor Constructor
Constructor Constructor
Constructor Constructor
Constructor Constructor
Get the geometry type
geometry type
Does the geometry have m coordinates
true if has m coordinates
Set if the geometry has m coordinates
true if has m coordinates
true if has m coordinates
Does the geometry have z coordinates
true if has z coordinates
Set if the geometry has z coordinates
true if has z coordinates
true if has z coordinates
Does the geometry have z coordinates
true if has z coordinates
Add geometries
geometries
Add a geometry
geometry
Add a polygon
polygon
Add polygons
polygons
Add a surface
surface
Add surfaces
surfaces
{@inheritDoc}
{@inheritDoc}
Expand the envelope with the minimum bounding box for this Geometry
geometry envelope to expand
Get as a top level Geometry Collection
geometry collection
Get as a Multi Curve, a Curve typed Geometry Collection
multi curve
Get as a MultiLineString, either the current instance or newly created from the LineString geometries
multi line string
Get as a MultiPoint, either the current instance or newly created from the Point geometries
multi point
Get as a MultiPolygon, either the current instance or newly created from the Polygon geometries
multi polygon
Get as a Multi Surface, a Surface typed Geometry Collection
multi surface
Get the mathematical centroid point of a 2 dimensional representation of the Geometry (balancing point of a 2d cutout of the geometry). Only the x and y coordinate of the resulting point are calculated and populated. The resulting {@link Point#getZ()} and {@link Point#getM()} methods will always return null.
centroid point
Get the collection type by evaluating the geometries
collection geometry type, one of: {@link GeometryType#MULTIPOINT}, {@link GeometryType#MULTILINESTRING}, {@link GeometryType#MULTIPOLYGON}, {@link GeometryType#MULTICURVE}, {@link GeometryType#MULTISURFACE}, {@link GeometryType#GEOMETRYCOLLECTION}
Get the geographic centroid point of a 2 dimensional representation of the degree unit Geometry. Only the x and y coordinate of the resulting point are calculated and populated. The resulting {@link Point#getZ()} and {@link Point#getM()} methods will always return null.
centroid point
Get the inherent dimension (0, 1, or 2) for this Geometry
dimension
Get the minimum bounding box for this Geometry
geometry envelope
Returns the Nth geometry
nth geometry to return
geometry
Returns the Nth polygon
nth polygon to return
polygon
Returns the Nth surface
nth line surface to return
surface
Get the surfaces
surfaces
{@inheritDoc}
Does the geometry have m coordinates.
true if has m coordinates
Determine if this geometry collection contains only Curve geometries
true if contains only curves
Determine if this geometry collection is a MultiLineString instance or contains only LineString geometries
true if a multi line string or contains only line strings
Determine if this geometry collection is a MultiPoint instance or contains only Point geometries
true if a multi point or contains only points
Determine if this geometry collection is a MultiPolygon instance or contains only Polygon geometries
true if a multi polygon or contains only polygons
Determine if this geometry collection contains only Surface geometries
true if contains only surfaces
{@inheritDoc}
Get the number of geometries in the collection
number of geometries
Get the number of polygons
number of polygons
Get the number of surfaces
number of surfaces
Set the surfaces
surfaces
Update currently false hasZ and hasM values using the provided geometry
geometry
Determine if the geometries contain a M value
list of geometries
true if has m
Determine if the geometries contain a Z value
list of geometries
true if has z
Generated using TypeDoc
A restricted form of MultiSurface where each Surface in the collection must be of type Polygon.