Skip to content

Commit

Permalink
fixed vmtkcenterlineinterpolation script
Browse files Browse the repository at this point in the history
  • Loading branch information
daron1337 committed Jun 6, 2016
1 parent f1c5de2 commit 9ca3eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vmtkScripts/vmtkcenterlineinterpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def Execute(self):
point = self.Centerlines.GetPoint(pointId)

if previousPoint:
abscissa += vtk.vtkDistance2BetweenPoints(point,previousPoint)**0.5
abscissa += vtk.vtkMath.Distance2BetweenPoints(point,previousPoint)**0.5

abscissaArray.InsertNextValue(abscissa)

Expand Down

0 comments on commit 9ca3eea

Please sign in to comment.