public class EnvelopeOrGeometry extends Object
| Constructor and Description |
|---|
EnvelopeOrGeometry(org.locationtech.jts.geom.Geometry geometry) |
EnvelopeOrGeometry(ReferencedEnvelope envelope) |
| Modifier and Type | Method and Description |
|---|---|
org.locationtech.jts.geom.Coordinate |
getCoordinate() |
org.locationtech.jts.geom.Coordinate[] |
getCoordinates() |
Optional<ReferencedEnvelope> |
getEnvelope() |
Optional<org.locationtech.jts.geom.Geometry> |
getGeometry() |
int |
getSRID() |
boolean |
isEnvelope() |
boolean |
isGeometry() |
ReferencedEnvelope |
toEnvelope() |
org.locationtech.jts.geom.Geometry |
toGeometry() |
public EnvelopeOrGeometry(ReferencedEnvelope envelope)
public EnvelopeOrGeometry(org.locationtech.jts.geom.Geometry geometry)
public Optional<org.locationtech.jts.geom.Geometry> getGeometry()
public Optional<ReferencedEnvelope> getEnvelope()
public boolean isGeometry()
public boolean isEnvelope()
public int getSRID()
public org.locationtech.jts.geom.Coordinate[] getCoordinates()
public org.locationtech.jts.geom.Coordinate getCoordinate()
public org.locationtech.jts.geom.Geometry toGeometry()
public ReferencedEnvelope toEnvelope()
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.