public class LongitudeRotation extends AbstractCoordinateOperation
precisionDEFAULT, LOCAL, UNKNOWN| Constructor and Description |
|---|
LongitudeRotation(double rotation)
Create a new LongitudeRotation converter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Returns true if object is equals to
this. |
static LongitudeRotation |
getLongitudeRotationFrom(PrimeMeridian targetPM)
Creates a new LongitudeRotation from this PrimeMeridian to Greenwich.
|
static LongitudeRotation |
getLongitudeRotationTo(PrimeMeridian targetPM)
Creates a new LongitudeRotation from Greenwich to this PrimeMeridian.
|
double |
getRotationAngle() |
int |
hashCode()
Returns the hash code for this LongitudeRotation.
|
CoordinateOperation |
inverse()
Creates the inverse CoordinateOperation.
|
boolean |
isIdentity() |
String |
toString()
Return a String representation of this Geographic/Geocentric converter.
|
double[] |
transform(double[] coord)
Return a coordinate representing the same point as coord but in a
geographic coordinate system based on a different prime meridian.
|
getPrecisionaddAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, setIdentifier, setRemarks, setShortNameclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortNamepublic LongitudeRotation(double rotation)
Create a new LongitudeRotation converter.
rotation - rotation angle in radianspublic double[] transform(double[] coord)
throws IllegalCoordinateException
Return a coordinate representing the same point as coord but in a geographic coordinate system based on a different prime meridian.
transform in interface CoordinateOperationtransform in class AbstractCoordinateOperationcoord - is an array containing 2 or 3 double representing geographic
coordinate in the following order : latitude (radians), longitude
(radians from Greenwich) and optionnaly ellipsoidal heightIllegalCoordinateException - if coord is not
compatible with this CoordinateOperation.public CoordinateOperation inverse()
inverse in interface CoordinateOperationinverse in class AbstractCoordinateOperationpublic static LongitudeRotation getLongitudeRotationTo(PrimeMeridian targetPM)
targetPM - target prime meridianpublic static LongitudeRotation getLongitudeRotationFrom(PrimeMeridian targetPM)
targetPM - target prime meridianpublic String toString()
toString in class IdentifiableComponentpublic double getRotationAngle()
public boolean equals(Object o)
this. Tests equality between the rotationAngles used by the
transformation.equals in class IdentifiableComponento - The object to compare this LongitudeRotation againstpublic int hashCode()
hashCode in class IdentifiableComponentpublic boolean isIdentity()
isIdentity in interface CoordinateOperationisIdentity in class AbstractCoordinateOperationCopyright © 2019 CNRS. All rights reserved.