public static double[] GaToLLa(Geo[] ga,double[] lla){
  if (lla == null) {
    lla=new double[2 * ga.length];
  }
  for (int i=0; i < ga.length; i++) {
    Geo g=ga[i];
    lla[i * 2]=g.getLatitude();
    lla[i * 2 + 1]=g.getLongitude();
  }
  return lla;
}

public static double [ ] GaToLLa ( Geo [ ] ga , double [ ] lla ) { if ( lla == null ) { lla = new double [ 2 * ga . length ] ; } for ( int i = 0 ; i < ga . length ; i ++ ) { Geo g = ga [ i ] ; lla [ i * 2 ] = g . getLatitude ( ) ; lla [ i * 2 + 1 ] = g . getLongitude ( ) ; } return lla ; }
convert a geo array into a floating point lat lon array ( alternating lat and lon values ) .
