protected void moveRandomly(OMPoint point,double factor,Projection proj){
  double hor=Math.random() - .5;
  double vert=Math.random() - .5;
  Point2D mapPoint=proj.forward(point.getLat(),point.getLon());
  mapPoint.setLocation(mapPoint.getX() + (hor * factor),mapPoint.getY() + (vert * factor));
  Point2D llp=proj.inverse(mapPoint);
  point.setLat(llp.getY());
  point.setLon(llp.getX());
}

protected void moveRandomly ( OMPoint point , double factor , Projection proj ) { double hor = Math . random ( ) - .5 ; double vert = Math . random ( ) - .5 ; Point2D mapPoint = proj . forward ( point . getLat ( ) , point . getLon ( ) ) ; mapPoint . setLocation ( mapPoint . getX ( ) + ( hor * factor ) , mapPoint . getY ( ) + ( vert * factor ) ) ; Point2D llp = proj . inverse ( mapPoint ) ; point . setLat ( llp . getY ( ) ) ; point . setLon ( llp . getX ( ) ) ; }
simple method to move an ompoint around randomly .
