Class PointConverter

java.lang.Object
sec.web.renderer.PointConverter
All Implemented Interfaces:
ArmyC2.C2SD.Utilities.IPointConversion

public class PointConverter extends Object implements ArmyC2.C2SD.Utilities.IPointConversion
Author:
Michael Deutch
  • Constructor Details

    • PointConverter

      public PointConverter(double controlLong, double controlLat, double scale)
    • PointConverter

      public PointConverter(double left, double top, double right, double bottom, double scale)
      add constructor to handle when earth is flipped about it's X axis (South is on top)
      Parameters:
      left -
      top -
      right -
      bottom -
      scale -
  • Method Details

    • set_normalize

      public void set_normalize(boolean value)
    • PixelsToGeo

      public Point2D.Double PixelsToGeo(Point pixel)
    • GeoToPixels

      public Point GeoToPixels(Point2D.Double coord)
    • PixelsToGeo

      public Point2D PixelsToGeo(Point2D pixel)
      Specified by:
      PixelsToGeo in interface ArmyC2.C2SD.Utilities.IPointConversion
    • GeoToPixels

      public Point2D GeoToPixels(Point2D coord)
      Specified by:
      GeoToPixels in interface ArmyC2.C2SD.Utilities.IPointConversion