Package com.kheops.jmap.projections
Interface Projection
- All Superinterfaces:
Cloneable,Comparable<Projection>,Serializable
- All Known Implementing Classes:
CombinedProjection,HotineObliqueMercator,LambertConformConic,LongitudeLatitude,Mercator,Mtm,PlateCarree,Proj4jProjection,SphericalMercator,Stereographic,SwissObliqueMercator,TransverseMercator,Utm
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionTransforms coordinates from latitude-longitude to another projection.Transforms coordinates a projection to latitude-longitude.clone()Clones the current projection.booleanequals(Projection proj) getEPSG()getName()doubledoublegetUnit()voidvoidvoidtoString()Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
RAD2DEG
static final double RAD2DEG- See Also:
-
-
Method Details
-
clone
Object clone()Clones the current projection.- Returns:
- a new projection instance created from the current projection.
-
setParams
-
setName
-
setEPSG
-
getParams
String getParams() -
getName
String getName()- Returns:
- name - epsg
-
getEPSG
String getEPSG() -
getUnit
JMapUnit getUnit() -
toMapInfo
String toMapInfo() -
equals
-
getSemimajorAxis
double getSemimajorAxis() -
getSemiminorAxis
double getSemiminorAxis() -
apply
Transforms coordinates from latitude-longitude to another projection.- Parameters:
p- the coordinate to transform.- Returns:
- the transformed coordinate.
-
applyInverse
Transforms coordinates a projection to latitude-longitude.- Parameters:
p- the coordinate to transform.- Returns:
- the transformed coordinate.
-
toString
String toString()
-