Class CoordinateTransform

java.lang.Object
com.eco.bio7.gdal.CoordinateTransform
All Implemented Interfaces:
AutoCloseable

public final class CoordinateTransform extends Object implements AutoCloseable
A transformation of coordinates between two coordinate systems (OGRCoordinateTransformation). Close it after use.
  • Method Details

    • transform

      public double[] transform(double x, double y)
      Transforms one point: {x, y} in the target system.
    • transform

      public void transform(double[] x, double[] y)
      Transforms the points in place (x and y of the same length).
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable