ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java
public AffineTransform calcTransform(boolean rotate, double displayX, double displayY,
      double displayWidth, double displayHeight) {
    return navigate.calcTransform(rotate, displayX, displayY, displayWidth, displayHeight);
  }
public AffineTransform calcTransform(boolean rotate, double displayX, double displayY,
      double displayWidth, double displayHeight) {
    return navigate.calcTransform(rotate, displayX, displayY, displayWidth, displayHeight);
  }
public AffineTransform calcTransform ( boolean rotate , double displayX , double displayY , double displayWidth , double displayHeight ) { return navigate . calcTransform ( rotate , displayX , displayY , displayWidth , displayHeight ) ; }
This calculates the Affine Transform that maps the current map area (in Projection Coordinates)
to a display area (in arbitrary units).
@param rotate should the page be rotated?
@param displayX            upper right corner of display area
@param displayY            upper right corner of display area
@param displayWidth   display area
@param displayHeight   display area

see Navigation.calcTransform
This calculates the Affine Transform that maps the current map area ( in Projection Coordinates ) to a display area ( in arbitrary units ) . @param rotate should the page be rotated? @param displayX upper right corner of display area @param displayY upper right corner of display area @param displayWidth display area @param displayHeight display area