public void addPoint(final double lat,final double lon){
  if (isDone)   throw new IllegalStateException("Can't call addPoint() if done() already called");
  points.add(new GeoPoint(planetModel,lat,lon));
}

public void addPoint ( final double lat , final double lon ) { if ( isDone ) throw new IllegalStateException ( "Can't call addPoint() if done() already called" ) ; points . add ( new GeoPoint ( planetModel , lat , lon ) ) ; }
add a point to the path .
