Class 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 Detail

      • AffineTransform

        public AffineTransform()
    • 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 interface org.locationtech.jts.geom.CoordinateFilter