public class MultiPolygon<P extends Position> extends AbstractGeometryCollection<P,Polygon<P>> implements Polygonal<P>
GeometryCollection of Polygons.geometries| Constructor and Description |
|---|
MultiPolygon(CoordinateReferenceSystem<P> crs) |
MultiPolygon(Polygon<P>... polygons)
Constructs a
MultiPolygon from the specified array of Polygons. |
| Modifier and Type | Method and Description |
|---|---|
<Q extends Position> |
as(Class<Q> castToType) |
Class<? extends Geometry> |
getComponentType()
Returns the
Class of which all constituent Geometrys are instances. |
GeometryType |
getGeometryType()
Returns the type of this
Geometry. |
accept, components, getDimension, getGeometryN, getNumGeometries, iteratorcheckCast, equals, forceToCrs, forceToCrs, getBoundingBox, getCoordinateDimension, getCoordinateReferenceSystem, getCrs, getEnvelope, getNumPositions, getPositionClass, getPositionN, getPositions, getSRID, hashCode, hasM, hasZ, isEmpty, nestPositionSequences, toString, writeReplaceclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic MultiPolygon(Polygon<P>... polygons)
MultiPolygon from the specified array of Polygons.polygons - the element Polygons for the constructed MultiPolygonpublic MultiPolygon(CoordinateReferenceSystem<P> crs)
public Class<? extends Geometry> getComponentType()
ComplexClass of which all constituent Geometrys are instances.getComponentType in interface Complex<P extends Position,Polygon<P extends Position>>getComponentType in class AbstractGeometryCollection<P extends Position,Polygon<P extends Position>>Class of which all constituent Geometrys are instances.public GeometryType getGeometryType()
GeometryGeometry.getGeometryType in class AbstractGeometryCollection<P extends Position,Polygon<P extends Position>>GeometryType of this instance.Copyright © 2021 geolatte.org. All rights reserved.