public boolean equalsCoordinates( Object o ) {
if (!(o instanceof Edge))
return false;
Edge e = (Edge) o;
if (this.getCoordinates().length != e.getCoordinates().length)
return false;
for( int i = 0; i < this.getCoordinates().length; i++ ) {
boolean found =false;
for( int j = 0; j < e.getCoordinates().length; j++ ) {
if(this.getCoordinate(i).equals2D(e.getCoordinate(j))){
found=true;
break;
}
}
if(!found){