Class CoordinateSystem
- java.lang.Object
-
- org.locationtech.jts.jump.coordsys.CoordinateSystem
-
- All Implemented Interfaces:
Serializable
,Comparable
public class CoordinateSystem extends Object implements Comparable, Serializable
This class represents a coordinate system.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CoordinateSystem
UNSPECIFIED
-
Constructor Summary
Constructors Constructor Description CoordinateSystem(String name, int epsgCode, Projection projection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object o)
int
getEPSGCode()
String
getName()
Projection
getProjection()
String
toString()
-
-
-
Field Detail
-
UNSPECIFIED
public static final CoordinateSystem UNSPECIFIED
-
-
Constructor Detail
-
CoordinateSystem
public CoordinateSystem(String name, int epsgCode, Projection projection)
-
-
Method Detail
-
getName
public String getName()
-
getProjection
public Projection getProjection()
-
getEPSGCode
public int getEPSGCode()
-
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interfaceComparable
-
-