forked from lebotlan/BE-Graphes
Compare commits
No commits in common. "472b57869210c34709ec726e321f70ace6984f63" and "941ff07d893b6713abe85fdb8403b36b0e84a2fc" have entirely different histories.
472b578692
...
941ff07d89
2 changed files with 3 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -19,4 +19,3 @@ doc
|
||||||
*.mapgr
|
*.mapgr
|
||||||
*.path
|
*.path
|
||||||
*.tgz
|
*.tgz
|
||||||
/.metadata/
|
|
||||||
|
|
|
||||||
|
|
@ -195,13 +195,11 @@ public class Path {
|
||||||
* Compute the length of this path (in meters).
|
* Compute the length of this path (in meters).
|
||||||
*
|
*
|
||||||
* @return Total length of the path (in meters).
|
* @return Total length of the path (in meters).
|
||||||
|
* @deprecated Need to be implemented.
|
||||||
*/
|
*/
|
||||||
public float getLength() {
|
public float getLength() {
|
||||||
float result = 0f;
|
// TODO:
|
||||||
for (Arc arc : arcs) {
|
return 0;
|
||||||
result += arc.getLength();
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue