Skip to content

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

Description

@cstatz

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions