JTS Geometry works with Coordinate, while our MathTransform}}s work on the ISO concept of {{DirectPosition. You could transform each one by hand, or use the hand JTS utility class.
Transform a Geometry using the JTS Utility class
JTS Utility Class
import org.geotools.geometry.jts.JTS; import org.geotools.referencing.CRS; CoordinateReferenceSystem sourceCRS = CRS.decode("EPSG:4326"); CoordinateReferenceSystem targetCRS = CRS.decode("EPSG:23032"); MathTransform transform = CRS.findMathTransform(sourceCRS, targetCRS); Geometry targetGeometry = JTS.transform( sourceGeometry, transform);