cstatz / cstatz/blazert

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

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.