Vertaa committeja
2 commits
2f68d40f57
...
ce66d2162b
| Tekijä | SHA1 | Päivämäärä | |
|---|---|---|---|
| ce66d2162b | |||
| 36dfcf8e30 |
2 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
|
|
@ -214,7 +214,11 @@ public class Path {
|
|||
*/
|
||||
public float getLength() {
|
||||
// TODO:
|
||||
return 0 ;
|
||||
float length=0;
|
||||
for (Arc arc : arcs) {
|
||||
length += arc.getLength();
|
||||
}
|
||||
return length ;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Binary file not shown.
Ladataan…
Viittaa uudesa ongelmassa