gistoolkit.projection
Class ImageProjector

java.lang.Object
  extended bygistoolkit.projection.ImageProjector

public class ImageProjector
extends java.lang.Object

Projects an image from one projection to another. This is done by resampling the image into the new projection.


Constructor Summary
ImageProjector()
          Creates new ImageProjector
 
Method Summary
static boolean EnvelopeOverlap(Envelope inEnvelope, Point inPoint)
          Determines if the two rectangles overlap.
static void projectBackward(Projection inProjection, RasterShape inImage)
          Project the image Backward.
static void projectForward(Projection inProjection, RasterShape inImage)
          Project the image forward.
static void reProject(Projection inFromProjection, Projection inToProjection, RasterShape inImage)
          ReProject the image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageProjector

public ImageProjector()
Creates new ImageProjector

Method Detail

projectForward

public static void projectForward(Projection inProjection,
                                  RasterShape inImage)
                           throws java.lang.Exception
Project the image forward.

Throws:
java.lang.Exception

projectBackward

public static void projectBackward(Projection inProjection,
                                   RasterShape inImage)
                            throws java.lang.Exception
Project the image Backward.

Throws:
java.lang.Exception

reProject

public static void reProject(Projection inFromProjection,
                             Projection inToProjection,
                             RasterShape inImage)
                      throws java.lang.Exception
ReProject the image.

Throws:
java.lang.Exception

EnvelopeOverlap

public static boolean EnvelopeOverlap(Envelope inEnvelope,
                                      Point inPoint)
Determines if the two rectangles overlap. Returns true if they do, and false if they do not.

Returns:
boolean