Add functions to query region containment for one point and a set of points.
How Has This Been Tested
Added pytests and a demo in viewer.py.
In the below video when the crib object is selected, containing regions are displayed colored by containment percentage. Red is full containment fading to green with less containment. Notice the hues shift as the object is moved between regions.
Motivation and Context
Add functions to query region containment for one point and a set of points.
How Has This Been Tested
Added pytests and a demo in viewer.py.
In the below video when the crib object is selected, containing regions are displayed colored by containment percentage. Red is full containment fading to green with less containment. Notice the hues shift as the object is moved between regions.
https://github.com/facebookresearch/habitat-sim/assets/1445143/695d1aa6-5eb3-4948-914f-ee6d34e98f82
Note: this demo will be reverted before merge.
Types of changes
Checklist