Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(face): Fix typo in hidden _point_on_face method #306

Merged
merged 1 commit into from
Jul 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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