Skip to content

Commit

Permalink
fix(face): Fix typo in hidden _point_on_face method
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Jul 9, 2021
1 parent 0ca574a commit 79b3a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ladybug_geometry/geometry3d/face.py
Original file line number Diff line number Diff line change
Expand Up @@ -1884,7 +1884,7 @@ def _point_on_face(self, tolerance):
move_vec = self._inward_pointing_vec(self)
except ZeroDivisionError: # face has duplicated start vertices; remove them
face = self.remove_colinear_vertices(tolerance)
move_vec = Polyface3D._inward_pointing_vec(face)
move_vec = self._inward_pointing_vec(face)

move_vec = move_vec * (tolerance + 0.00001)
point_on_face = self.boundary[0] + move_vec
Expand Down

0 comments on commit 79b3a1b

Please sign in to comment.