Skip to content

Improve method filter_cut_volumes_above_polygons to consider all vertices#32

Merged
PabloVasconez merged 1 commit intomainfrom
29-refactor-method-filter_plaxis_volumes_above_polygons-to-use-convexhull
Nov 15, 2023
Merged

Improve method filter_cut_volumes_above_polygons to consider all vertices#32
PabloVasconez merged 1 commit intomainfrom
29-refactor-method-filter_plaxis_volumes_above_polygons-to-use-convexhull

Conversation

@PabloVasconez
Copy link
Copy Markdown
Collaborator

Closes #29

…sider all the vertices of the cut_volumes, instead of only the centroid of the bounding box.

A tolerance parameter is also added for the float comparison to this method and to the method `project_vertically_point_onto_polygon_3d`.

Remove unused method `get_convex_hull_vertices_3d`.
@PabloVasconez PabloVasconez self-assigned this Nov 15, 2023
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 6876875069

  • 16 of 20 (80.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-1.1%) to 90.873%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/plxcontroller/plaxis_3d_input_controller.py 5 9 55.56%
Totals Coverage Status
Change from base Build 6875136918: -1.1%
Covered Lines: 229
Relevant Lines: 252

💛 - Coveralls

@PabloVasconez PabloVasconez merged commit 001c06d into main Nov 15, 2023
@PabloVasconez PabloVasconez deleted the 29-refactor-method-filter_plaxis_volumes_above_polygons-to-use-convexhull branch November 15, 2023 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor method filter_plaxis_volumes_above_polygons to use ConvexHull

2 participants