public Point2D forward(double lat,double lon,Point2D p,boolean isRadian){
  if (isRadian) {
    lat=Math.toDegrees(normalizeLatitude(lat));
    lon=Math.toDegrees(ProjMath.wrapLongitude(lon - cLonRad));
  }
 else {
    lat=normalizeLatitudeDeg(lat);
    lon=wrapLongitudeDeg(lon - cLon);
  }
  double x=wx + (lon * ppd);
  double y=hy - ((lat - cLat) * ppd);
  p.setLocation(x,y);
  return p;
}

public Point2D forward ( double lat , double lon , Point2D p , boolean isRadian ) { if ( isRadian ) { lat = Math . toDegrees ( normalizeLatitude ( lat ) ) ; lon = Math . toDegrees ( ProjMath . wrapLongitude ( lon - cLonRad ) ) ; } else { lat = normalizeLatitudeDeg ( lat ) ; lon = wrapLongitudeDeg ( lon - cLon ) ; } double x = wx + ( lon * ppd ) ; double y = hy - ( ( lat - cLat ) * ppd ) ; p . setLocation ( x , y ) ; return p ; }
forward projects lat , lon into xy space and returns a point2d .
