Class AffineTransformUtil


  • public class AffineTransformUtil
    extends Object
    Few basic transformation functions.
    Author:
    julien Gaffuri
    • Constructor Detail

      • AffineTransformUtil

        public AffineTransformUtil()
    • Method Detail

      • applyScaling

        public static void applyScaling​(org.locationtech.jts.geom.Coordinate coord,
                                        org.locationtech.jts.geom.Coordinate center,
                                        double coef)
      • getStretchTransformation

        public static org.locationtech.jts.geom.util.AffineTransformation getStretchTransformation​(org.locationtech.jts.geom.Coordinate c,
                                                                                                   double angle,
                                                                                                   double scale)
      • transform

        public static void transform​(org.locationtech.jts.geom.util.AffineTransformation at,
                                     org.locationtech.jts.geom.Coordinate[] cs)