gistoolkit.projection.ellipsoid.transform
Class LongitudeRotation

java.lang.Object
  extended bygistoolkit.projection.ellipsoid.transform.EllipsoidTransform
      extended bygistoolkit.projection.ellipsoid.transform.LongitudeRotation

public class LongitudeRotation
extends EllipsoidTransform

One of the trivial transformations for ellipsoids, takes the longitude of one ellipsoid, and adds an offset to arrive at the second.


Nested Class Summary
(package private)  class LongitudeRotation.EditPanel
           
 
Constructor Summary
LongitudeRotation()
          Creates new LongitudeRotation
 
Method Summary
protected  void doForward(Point inPoint)
          Convert the coordinates of the given point from reference to the From ellipsoid to reference to the To ellipsoid.
protected  void doReverse(Point inPoint)
          Convert the coordinates of the given point from reference to the To ellipsoid to reference to the From ellipsoid.
 TransformEditPanel getEditPanel()
          Create an edit panel to allow the user to edit the parameters of this transform
 double getLongitudeOffset()
          Retrieve the Longitude Offset
 void setLongitudeOffset(double inOffset)
          Set the Longitude Offset
 void setParameter(java.lang.String inName, java.lang.String inValue)
          Set the given parameter to the given value
 
Methods inherited from class gistoolkit.projection.ellipsoid.transform.EllipsoidTransform
forward, getFromEllipsoid, getIsReversed, getName, getToEllipsoid, reverse, setFromEllipsoid, setIsReversed, setName, setToEllipsoid, toCartesian, toPolar, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongitudeRotation

public LongitudeRotation()
Creates new LongitudeRotation

Method Detail

setLongitudeOffset

public void setLongitudeOffset(double inOffset)
Set the Longitude Offset


getLongitudeOffset

public double getLongitudeOffset()
Retrieve the Longitude Offset


doForward

protected void doForward(Point inPoint)
Convert the coordinates of the given point from reference to the From ellipsoid to reference to the To ellipsoid.

Specified by:
doForward in class EllipsoidTransform

doReverse

protected void doReverse(Point inPoint)
Convert the coordinates of the given point from reference to the To ellipsoid to reference to the From ellipsoid.

Specified by:
doReverse in class EllipsoidTransform

setParameter

public void setParameter(java.lang.String inName,
                         java.lang.String inValue)
Set the given parameter to the given value

Specified by:
setParameter in class EllipsoidTransform

getEditPanel

public TransformEditPanel getEditPanel()
Create an edit panel to allow the user to edit the parameters of this transform

Overrides:
getEditPanel in class EllipsoidTransform