edu.sc.seis.fissuresUtil.gmt
Class MapCropper

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.gmt.MapCropper

public class MapCropper
extends java.lang.Object


Constructor Summary
MapCropper(int width, int height, int leftOffset, int bottomOffset, int top, int right, int bottom, int left)
           
 
Method Summary
 void crop(java.lang.String filename)
           
 int getBottom()
           
 int getBottomOffset()
           
 int getHeight()
           
 int getLeft()
           
 int getLeftOffset()
           
 int getNewHeight()
           
 int getNewWidth()
           
 int getRight()
           
 int getTop()
           
 int getWidth()
           
static void main(java.lang.String[] args)
           
 int[][] translatePoints(int[][] rawPoints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapCropper

public MapCropper(int width,
                  int height,
                  int leftOffset,
                  int bottomOffset,
                  int top,
                  int right,
                  int bottom,
                  int left)
Method Detail

translatePoints

public int[][] translatePoints(int[][] rawPoints)

crop

public void crop(java.lang.String filename)
          throws java.lang.InterruptedException,
                 java.io.IOException
Throws:
java.lang.InterruptedException
java.io.IOException

main

public static void main(java.lang.String[] args)

getBottom

public int getBottom()

getBottomOffset

public int getBottomOffset()

getHeight

public int getHeight()

getLeft

public int getLeft()

getLeftOffset

public int getLeftOffset()

getRight

public int getRight()

getTop

public int getTop()

getWidth

public int getWidth()

getNewWidth

public int getNewWidth()

getNewHeight

public int getNewHeight()