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

[FEATURE] Count the number of intersections for a given range of primitives (prim_id and geom_id) #40

Open
cstatz opened this issue Jun 23, 2020 · 0 comments

Comments

@cstatz
Copy link
Owner

cstatz commented Jun 23, 2020

Is your feature request related to a problem? Please describe.
In order to test if you are inside or outside a given geometry or primitive (-collection), counting the number of intersections for a given range of primitives (by prim_id and geom_id) is necessary.

Describe a possible solution.
Provide an interface (scene api) that can count the number of intersections for a ray query (possibly a number of intersections traversal function (that can be give a geom_id and prim_id-range)).

Describe alternatives you've considered
Leave this up to the user.

Additional context
This function would be called infrequently (it is used to test whether or not a source or sink is inside a given object).

@cstatz cstatz added this to the Science/Engineering Helpers milestone Jun 23, 2020
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

No branches or pull requests

1 participant