Compare commits

...

2 commits

Author SHA1 Message Date
ce66d2162b Length 2023-03-22 10:21:23 +01:00
36dfcf8e30 Lentgh 2023-03-22 10:19:28 +01:00
2 changed files with 5 additions and 1 deletions

View file

@ -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 ;
}
/**