Package org.apache.calcite.runtime
Class CoordinateTransformer
java.lang.Object
org.locationtech.jts.geom.util.GeometryTransformer
org.apache.calcite.runtime.CoordinateTransformer
public class CoordinateTransformer
extends org.locationtech.jts.geom.util.GeometryTransformer
Transforms the coordinates of a geometry.
-
Field Summary
Fields inherited from class org.locationtech.jts.geom.util.GeometryTransformer
factory
-
Constructor Summary
ConstructorDescriptionCoordinateTransformer
(Function<org.locationtech.jts.geom.Coordinate, org.locationtech.jts.geom.Coordinate> transform) Creates a transformer that applies thetransform
to all coordinates. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.locationtech.jts.geom.CoordinateSequence
transformCoordinates
(org.locationtech.jts.geom.CoordinateSequence coordinateSequence, org.locationtech.jts.geom.Geometry parent) Methods inherited from class org.locationtech.jts.geom.util.GeometryTransformer
copy, createCoordinateSequence, getInputGeometry, transform, transformGeometryCollection, transformLinearRing, transformLineString, transformMultiLineString, transformMultiPoint, transformMultiPolygon, transformPoint, transformPolygon
-
Constructor Details
-
CoordinateTransformer
public CoordinateTransformer(Function<org.locationtech.jts.geom.Coordinate, org.locationtech.jts.geom.Coordinate> transform) Creates a transformer that applies thetransform
to all coordinates.
-
-
Method Details
-
transformCoordinates
protected org.locationtech.jts.geom.CoordinateSequence transformCoordinates(org.locationtech.jts.geom.CoordinateSequence coordinateSequence, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformCoordinates
in classorg.locationtech.jts.geom.util.GeometryTransformer
-