Class CRSPair
java.lang.Object
org.apache.sis.referencing.operation.CRSPair
A pair of source-destination
CoordinateReferenceSystem
objects.
Used as key in hash map.- Since:
- 0.7
- Version:
- 1.1
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCRSPair
(org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS) Creates aCRSPair
for the specified source and target CRS. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this pair to the specified object for equality.int
hashCode()
Returns the hash code value.(package private) static String
label
(org.opengis.referencing.IdentifiedObject object) Returns the name of the GeoAPI interface implemented by the specified object.toString()
Returns a string representation of this key.
-
Field Details
-
sourceCRS
final org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRSThe source and target CRS. -
targetCRS
final org.opengis.referencing.crs.CoordinateReferenceSystem targetCRSThe source and target CRS.
-
-
Constructor Details
-
CRSPair
CRSPair(org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS) Creates aCRSPair
for the specified source and target CRS.
-
-
Method Details
-
hashCode
public int hashCode()Returns the hash code value. -
equals
Compares this pair to the specified object for equality. -
label
Returns the name of the GeoAPI interface implemented by the specified object. In the GeographicCRS or EllipsoidalCS cases, the trailing CRS or CS suffix is replaced by the number of dimensions (e.g. "Geographic3D"). -
toString
Returns a string representation of this key.
-