Package org.n52.shetland.util
Class EnvelopeOrGeometry
- java.lang.Object
-
- org.n52.shetland.util.EnvelopeOrGeometry
-
public class EnvelopeOrGeometry extends Object
TODO JavaDoc
-
-
Constructor Summary
Constructors Constructor Description EnvelopeOrGeometry(org.locationtech.jts.geom.Geometry geometry)EnvelopeOrGeometry(ReferencedEnvelope envelope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.CoordinategetCoordinate()org.locationtech.jts.geom.Coordinate[]getCoordinates()Optional<ReferencedEnvelope>getEnvelope()Optional<org.locationtech.jts.geom.Geometry>getGeometry()intgetSRID()booleanisEnvelope()booleanisGeometry()ReferencedEnvelopetoEnvelope()org.locationtech.jts.geom.GeometrytoGeometry()
-
-
-
Constructor Detail
-
EnvelopeOrGeometry
public EnvelopeOrGeometry(ReferencedEnvelope envelope)
-
EnvelopeOrGeometry
public EnvelopeOrGeometry(org.locationtech.jts.geom.Geometry geometry)
-
-
Method Detail
-
getGeometry
public Optional<org.locationtech.jts.geom.Geometry> getGeometry()
-
getEnvelope
public Optional<ReferencedEnvelope> getEnvelope()
-
isGeometry
public boolean isGeometry()
-
isEnvelope
public boolean isEnvelope()
-
getSRID
public int getSRID()
-
getCoordinates
public org.locationtech.jts.geom.Coordinate[] getCoordinates()
-
getCoordinate
public org.locationtech.jts.geom.Coordinate getCoordinate()
-
toGeometry
public org.locationtech.jts.geom.Geometry toGeometry()
-
toEnvelope
public ReferencedEnvelope toEnvelope()
-
-