Skip to content

Conversation

bobpaw
Copy link
Collaborator

@bobpaw bobpaw commented Aug 29, 2024

Implement capstone gmi functions

The functions gmi_closest_point, gmi_is_point_in_region, and gmi_is_in_closure_of are implemented in terms of Capstone functions.

TODO:

  • [ ] gmi_closest_point needs seedparam. We decided the inefficiency is ok.
  • Geometric test case.

bobpaw added 5 commits August 29, 2024 09:37
implement gmi_closest_point
implement gmi_is_point_in_region
implement gmi_is_in_closure_of

Signed-off-by: Aiden Woodruff <[email protected]>
- We decided that it is ok to use the inefficient
  get_closest_point_param call without seedparam for general calls.

Signed-off-by: Aiden Woodruff <[email protected]>
Signed-off-by: Aiden Woodruff <[email protected]>
- Test a few points on a square face and edge.

Signed-off-by: Aiden Woodruff <[email protected]>
@bobpaw bobpaw marked this pull request as ready for review October 3, 2024 22:00
@bobpaw bobpaw requested a review from cwsmith October 7, 2024 14:46
Copy link
Contributor

@cwsmith cwsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cwsmith cwsmith merged commit 1276d76 into develop Oct 21, 2024
4 checks passed
@cwsmith cwsmith deleted the apw/gmi_cap_improvements branch October 21, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants