This commit is contained in:
El Haji Fofana 2023-03-22 10:19:28 +01:00
父節點 046ef12ff9
當前提交 36dfcf8e30
共有 2 個文件被更改,包括 5 次插入1 次删除

查看文件

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