methode getLength terminee

This commit is contained in:
Thior Youssouf-Ben-Abdallah 2025-04-04 09:57:36 +02:00
parent 68b73d1b17
commit fe83a92509

View file

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