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

    Constructors
    Constructor
    Description
    CoordinateTransformer(Function<org.locationtech.jts.geom.Coordinate,org.locationtech.jts.geom.Coordinate> transform)
    Creates a transformer that applies the transform to all coordinates.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CoordinateTransformer

      public CoordinateTransformer(Function<org.locationtech.jts.geom.Coordinate,org.locationtech.jts.geom.Coordinate> transform)
      Creates a transformer that applies the transform 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 class org.locationtech.jts.geom.util.GeometryTransformer