Package org.locationtech.jts.jump.geom
Class AffineTransform
- java.lang.Object
-
- org.locationtech.jts.jump.geom.AffineTransform
-
- All Implemented Interfaces:
org.locationtech.jts.geom.CoordinateFilter
public class AffineTransform extends Object implements org.locationtech.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
Constructors Constructor Description AffineTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(org.locationtech.jts.geom.Geometry g)
void
filter(org.locationtech.jts.geom.Coordinate coord)
void
translate(org.locationtech.jts.geom.Coordinate p)
Append a translation to the transform.
-
-
-
Method Detail
-
translate
public void translate(org.locationtech.jts.geom.Coordinate p)
Append a translation to the transform.- Parameters:
transPt
- the vector to translate by
-
apply
public void apply(org.locationtech.jts.geom.Geometry g)
-
filter
public void filter(org.locationtech.jts.geom.Coordinate coord)
- Specified by:
filter
in interfaceorg.locationtech.jts.geom.CoordinateFilter
-
-