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 point
point
Add points
points
{@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 point
nth point to return
point
{@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 points
number of points
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 GeometryCollection where each Geometry in the collection must be of type Point.