methode getLength terminee
This commit is contained in:
parent
68b73d1b17
commit
fe83a92509
1 changed files with 6 additions and 2 deletions
|
@ -198,8 +198,12 @@ public class Path {
|
||||||
* @deprecated Need to be implemented.
|
* @deprecated Need to be implemented.
|
||||||
*/
|
*/
|
||||||
public float getLength() {
|
public float getLength() {
|
||||||
// TODO:
|
float length = 0f;
|
||||||
return 0;
|
for(Arc arcs : this.arcs)
|
||||||
|
{
|
||||||
|
length += arcs.getLength();
|
||||||
|
}
|
||||||
|
return length;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue