private static Coordinate[] coordinates(Edge component,Coordinate[] coordinates){
  for (int i=0; i < coordinates.length; i++) {
    coordinates[i]=(component=component.next).coordinate;
  }
  return coordinates;
}

private static Coordinate [ ] coordinates ( Edge component , Coordinate [ ] coordinates ) { for ( int i = 0 ; i < coordinates . length ; i ++ ) { coordinates [ i ] = ( component = component . next ) . coordinate ; } return coordinates ; }
compute all coordinates of a component
