com.vividsolutions.jump.geom
Class AffineTransform

java.lang.Object
  extended by com.vividsolutions.jump.geom.AffineTransform
All Implemented Interfaces:
com.vividsolutions.jts.geom.CoordinateFilter

public class AffineTransform
extends java.lang.Object
implements com.vividsolutions.jts.geom.CoordinateFilter

An AffineTransform applies an affine transforms to a JTS Geometry. The transform is done in-place. If the object must not be changed, it should be cloned and the transform applied to the clone. NOTE: INCOMPLETE IMPLEMENTATION


Constructor Summary
AffineTransform()
           
 
Method Summary
 void apply(com.vividsolutions.jts.geom.Geometry g)
           
 void filter(com.vividsolutions.jts.geom.Coordinate coord)
           
 void translate(com.vividsolutions.jts.geom.Coordinate p)
          Append a translation to the transform.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AffineTransform

public AffineTransform()
Method Detail

translate

public void translate(com.vividsolutions.jts.geom.Coordinate p)
Append a translation to the transform.

Parameters:
transPt - the vector to translate by

apply

public void apply(com.vividsolutions.jts.geom.Geometry g)

filter

public void filter(com.vividsolutions.jts.geom.Coordinate coord)
Specified by:
filter in interface com.vividsolutions.jts.geom.CoordinateFilter