[FEATURE] Count the number of intersections for a given range of primitives (prim_id and geom_id)
- Dominant language
- C++
- Stars
- 12
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
**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).
Contributor guide
Assessment
This issue has not been assessed yet.