Skip to content

Conversation

@hongyuchen1030
Copy link
Collaborator

This pull request updates the bool Face::Contains(const Node &n0, const NodeVector &nodevec) const function to account for marginal cases, fix potential bugs, and improve its robustness.

@hongyuchen1030 hongyuchen1030 self-assigned this Jan 23, 2025
@hongyuchen1030 hongyuchen1030 marked this pull request as draft January 24, 2025 19:07
) const {
int nParity = 0;

// First check if the query point N0 is around pole area. The following check base on the assumption that a face will not contains both ppole points
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Consider using line of longnitude, for pole point case, use constant lat

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Divide the sphere into regions and use the mono-tone characteristic

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.

2 participants