public abstract class Geometry
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Geometry()
Construct an instance with no specified coordinate reference system.
|
protected |
Geometry(CoordinateReferenceSystem coordinateReferenceSystem)
Construct an instance with the specified coordinate reference system.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
CoordinateReferenceSystem |
getCoordinateReferenceSystem()
Gets the coordinate reference system, which may be null
|
abstract GeoJsonObjectType |
getType()
Gets the GeoJSON object type.
|
int |
hashCode() |
java.lang.String |
toJson()
Converts to GeoJSON representation
|
protected Geometry()
protected Geometry(CoordinateReferenceSystem coordinateReferenceSystem)
coordinateReferenceSystem
- the coordinate reference systempublic abstract GeoJsonObjectType getType()
public java.lang.String toJson()
public CoordinateReferenceSystem getCoordinateReferenceSystem()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object