Commit 79eb524f authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

add max() method in polyBezier python class

parent 52645b4a
......@@ -45,6 +45,9 @@ class PolyBezier:
def length(self):
return self.times[-1]
def max(self):
return self.length()
def lengthNonZero(self):
length = 0
for c in self.curves:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment