Compare commits
2 commits
2f68d40f57
...
ce66d2162b
Author | SHA1 | Date | |
---|---|---|---|
ce66d2162b | |||
36dfcf8e30 |
2 changed files with 5 additions and 1 deletions
|
@ -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 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue