Skip to content

Commit

Permalink
fix: adding tangents to surfepy wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachlan Grose committed Sep 28, 2021
1 parent b9f8364 commit 1c0917e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion LoopStructural/interpolators/surfe_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def add_ctr_pts(self):
self.surfe.AddInterfaceConstraint(points[i, 0], points[i, 1], points[i, 2], points[i, 3], )

def add_tangent_ctr_pts(self):
pass
points = self.get_tangent_constraints()
if points.shape[0]>0:
self.surfe.SetTangentConstraints(points[:, :6])

def _solve(self, **kwargs):
self.surfe.ComputeInterpolant()
Expand Down

0 comments on commit 1c0917e

Please sign in to comment.