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

PointInSetQuery clips segments by lower and upper #14268

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hanbj
Copy link

@hanbj hanbj commented Feb 21, 2025

Description

When creating a PointInSetQuery object, the data in the packedPoints parameter is returned in order, so the maximum and minimum values ​​can be determined when iterating over packedPoints.

With the maximum and minimum values, the query can be returned early in special cases during the serial search of the segment.

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.

1 participant