com.vividsolutions.jump.geom
Class AffineTransform
java.lang.Object
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
|
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AffineTransform
public AffineTransform()
translate
public void translate(com.vividsolutions.jts.geom.Coordinate p)
- Append a translation to the transform.
- Parameters:
p - 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