gistoolkit.projection
Interface Projection

All Known Subinterfaces:
EditableProjection
All Known Implementing Classes:
AlbersEqualAreaProjection, LambertConicConformalProjection, NoProjection, SimpleProjection, TransversMercatorProjection, UniversalTransverseMercatorProjection

public interface Projection

Represents and performs a projection.


Method Summary
 java.lang.Object clone()
          Clone the object
 Node getNode()
          Return the configuration information for this projection
 java.lang.String getProjectionName()
          return the name of the projection
 java.lang.String getUnitOfMeasure()
          Get the units of the projection.
 void projectBackward(Point inPoint)
          Project the data in the reverse direction
 void projectForward(Point inPoint)
          Project the data in the forward direction
 void setEnvelope(Envelope inEnvelope)
          set the envelope of the map.
 void setNode(Node inNode)
          Setup this projection using the configuration information in the node
 

Method Detail

getUnitOfMeasure

public java.lang.String getUnitOfMeasure()
Get the units of the projection.


projectForward

public void projectForward(Point inPoint)
                    throws java.lang.Exception
Project the data in the forward direction

Throws:
java.lang.Exception

projectBackward

public void projectBackward(Point inPoint)
                     throws java.lang.Exception
Project the data in the reverse direction

Throws:
java.lang.Exception

setEnvelope

public void setEnvelope(Envelope inEnvelope)
                 throws java.lang.Exception
set the envelope of the map. The projection may do some initialization bassed on this value

Throws:
java.lang.Exception

getProjectionName

public java.lang.String getProjectionName()
return the name of the projection


getNode

public Node getNode()
Return the configuration information for this projection


setNode

public void setNode(Node inNode)
             throws java.lang.Exception
Setup this projection using the configuration information in the node

Throws:
java.lang.Exception

clone

public java.lang.Object clone()
Clone the object