Path: func length time
This commit is contained in:
parent
fa0b543b56
commit
853edfb344
1 changed files with 5 additions and 2 deletions
|
@ -213,8 +213,11 @@ public class Path {
|
||||||
* @deprecated Need to be implemented.
|
* @deprecated Need to be implemented.
|
||||||
*/
|
*/
|
||||||
public float getLength() {
|
public float getLength() {
|
||||||
// TODO:
|
float retour = 0 ;
|
||||||
return 0;
|
for (Arc arc : arcs) {
|
||||||
|
retour += arc.getLength();
|
||||||
|
}
|
||||||
|
return retour;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue