code: public static Geometry scale(Geometry geom, double xFactor, double yFactor) {
          return scale(geom, xFactor, yFactor, 1.0);
      }
docs: Scales the given geometry by multiplying the coordinates by the
  indicated x and y scale factors, leaving the z-coordinate untouched.
  
  @param geom    Geometry
  @param xFactor x scale factor
  @param yFactor y scale factor
  @return The geometry scaled by the given x and y scale factors