Confronta commit
2 commit
2f68d40f57
...
ce66d2162b
Autore | SHA1 | Data | |
---|---|---|---|
ce66d2162b | |||
36dfcf8e30 |
2 ha cambiato i file con 5 aggiunte e 1 eliminazioni
|
@ -214,7 +214,11 @@ public class Path {
|
||||||
*/
|
*/
|
||||||
public float getLength() {
|
public float getLength() {
|
||||||
// TODO:
|
// TODO:
|
||||||
return 0 ;
|
float length=0;
|
||||||
|
for (Arc arc : arcs) {
|
||||||
|
length += arc.getLength();
|
||||||
|
}
|
||||||
|
return length ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
File binario non mostrato.
Caricamento…
Crea riferimento in una nuova segnalazione