reflectInX static method
Implementation
static Geometry reflectInX(Geometry g) {
Coordinate centre = envelopeCentre(g)!;
AffineTransformation trans =
AffineTransformation.scaleInstanceScaleXY(1, -1, centre.x, centre.y);
return trans.transformGeom(g);
}