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 CoordinateSystemUNSPECIFIED
-
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 intcompareTo(Object o)intgetEPSGCode()StringgetName()ProjectiongetProjection()StringtoString()
-
-
-
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:
compareToin interfaceComparable
-
-