We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d6d27 commit 40b4ee8Copy full SHA for 40b4ee8
nipype/algorithms/mesh.py
@@ -63,7 +63,7 @@ class P2PDistance(BaseInterface):
63
input_spec = P2PDistanceInputSpec
64
output_spec = P2PDistanceOutputSpec
65
66
- def _triangle_area(A, B, C):
+ def _triangle_area(self, A, B, C):
67
ABxAC = euclidean(A,B) * euclidean(A,C)
68
prod = np.dot(np.array(B)-np.array(A),np.array(C)-np.array(A))
69
angle = np.arccos( prod / ABxAC )
0 commit comments