public abstract class Geometry extends 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(Object o) | 
| CoordinateReferenceSystem | getCoordinateReferenceSystem()Gets the coordinate reference system, which may be null | 
| abstract GeoJsonObjectType | getType()Gets the GeoJSON object type. | 
| int | hashCode() | 
| String | toJson()Converts to GeoJSON representation | 
protected Geometry()
protected Geometry(CoordinateReferenceSystem coordinateReferenceSystem)
coordinateReferenceSystem - the coordinate reference systempublic abstract GeoJsonObjectType getType()
public String toJson()
public CoordinateReferenceSystem getCoordinateReferenceSystem()