Class Projector


  • public class Projector
    extends java.lang.Object
    Uses geotools libraries to perform transformations between coordinate reference systems
    Author:
    dxm
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Point toPoint​(double lat, double lon)  
      java.awt.geom.Point2D.Double toPoint2D​(double lat, double lon)  
      java.awt.geom.Point2D.Double toPointInSrs​(double lat, double lon)  
      Position toPosition​(double targetX, double targetY)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • toPoint

        public java.awt.Point toPoint​(double lat,
                                      double lon)
      • toPointInSrs

        public java.awt.geom.Point2D.Double toPointInSrs​(double lat,
                                                         double lon)
      • toPoint2D

        public java.awt.geom.Point2D.Double toPoint2D​(double lat,
                                                      double lon)
      • toPosition

        public Position toPosition​(double targetX,
                                   double targetY)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object