ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java
public AffineTransform getTransform() {
    at.setTransform( pix_per_world, 0.0, 0.0, -pix_per_world, pix_x0, pix_y0);

    if (debug) {
      System.out.println("Navigation getTransform = "+ pix_per_world +" "+ pix_x0+" "+ pix_y0);
      System.out.println("  transform = "+ at);
    }
    return at;
  }
public AffineTransform getTransform() {
    at.setTransform( pix_per_world, 0.0, 0.0, -pix_per_world, pix_x0, pix_y0);

    if (debug) {
      System.out.println("Navigation getTransform = "+ pix_per_world +" "+ pix_x0+" "+ pix_y0);
      System.out.println("  transform = "+ at);
    }
    return at;
  }
public AffineTransform getTransform ( ) { at . setTransform ( pix_per_world , 0.0 , 0.0 , - pix_per_world , pix_x0 , pix_y0 ) ; if ( debug ) { System . out . println ( "Navigation getTransform = " + pix_per_world + " " + pix_x0 + " " + pix_y0 ) ; System . out . println ( "  transform = " + at ) ; } return at ; }
Get the affine transform based on screen size and world bounding box
Get the affine transform based on screen size and world bounding box