|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.projection.ellipsoid.transform.EllipsoidTransform
Super class for all EllipsoidConversion routines.
Constructor Summary | |
EllipsoidTransform()
Creates new EllipsoidConversion |
|
EllipsoidTransform(Ellipsoid inFromEllipsoid,
Ellipsoid inToEllipsoid)
Create new Ellipsoid from the given ellipsoids |
Method Summary | |
protected abstract void |
doForward(Point inPoint)
Convert the coordinates of the given point from reference to the From ellipsoid to reference to the To ellipsoid. |
protected abstract void |
doReverse(Point inPoint)
Convert the coordinates of the given point from reference to the To ellipsoid to reference to the From ellipsoid. |
void |
forward(Point inPoint)
Convert the coordinates of the given point from reference to the From ellipsoid to reference to the To ellipsoid. |
TransformEditPanel |
getEditPanel()
Get the edit panel for this transform, if there is not one, then just return null (the default) |
Ellipsoid |
getFromEllipsoid()
Retrieve the Ellipsoid to convert from |
boolean |
getIsReversed()
Get the Reversed flag |
java.lang.String |
getName()
Get the name of the transform |
Ellipsoid |
getToEllipsoid()
Retrieve the Ellipsoid to convert to |
void |
reverse(Point inPoint)
Convert the coordinates of the given point from reference to the To ellipsoid to reference to the From ellipsoid. |
void |
setFromEllipsoid(Ellipsoid inEllipsoid)
Set the Ellipsoid to convert from |
void |
setIsReversed(boolean inIsReversed)
Set the Reversed flag |
protected void |
setName(java.lang.String inName)
Set the name of the transform |
abstract void |
setParameter(java.lang.String inName,
java.lang.String inValue)
Set the given parameter to the given value |
void |
setToEllipsoid(Ellipsoid inEllipsoid)
Set the Ellipsoid to convert to |
static void |
toCartesian(Ellipsoid inEllipsoid,
Point inPoint,
CartesianPoint inCartesianPoint)
Convert the given point from polar coordinates on the given from ellipsoid to cartesizn coordinates. |
static void |
toPolar(Ellipsoid inEllipsoid,
CartesianPoint inCartesianPoint,
Point inPoint)
Convert the given point from it's Cartesian representation to a point on the given TO ellipsoid |
java.lang.String |
toString()
To appear in a combo box. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EllipsoidTransform()
public EllipsoidTransform(Ellipsoid inFromEllipsoid, Ellipsoid inToEllipsoid)
Method Detail |
protected void setName(java.lang.String inName)
public java.lang.String getName()
public java.lang.String toString()
public void setFromEllipsoid(Ellipsoid inEllipsoid)
public Ellipsoid getFromEllipsoid()
public void setToEllipsoid(Ellipsoid inEllipsoid)
public Ellipsoid getToEllipsoid()
public final void forward(Point inPoint)
public final void reverse(Point inPoint)
protected abstract void doForward(Point inPoint)
protected abstract void doReverse(Point inPoint)
public abstract void setParameter(java.lang.String inName, java.lang.String inValue)
public TransformEditPanel getEditPanel()
public void setIsReversed(boolean inIsReversed)
public boolean getIsReversed()
public static void toCartesian(Ellipsoid inEllipsoid, Point inPoint, CartesianPoint inCartesianPoint)
public static void toPolar(Ellipsoid inEllipsoid, CartesianPoint inCartesianPoint, Point inPoint)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |