LSVolumeDefinition is the base class for user-defined volumes.
More...
#include <lsvolume.h>
|
virtual IntersectResult | testSphere (const Eigen::Vector3d ¢er, double radius)=0 |
| Tests if and how a sphere intersects the volume. More...
|
|
virtual bool | testPoint (const Eigen::Vector3d &point)=0 |
| Tests if a point intersects the volume. More...
|
|
|
void | ref () const |
| Increments the internal reference counter. More...
|
|
void | unref () const |
| Decrements the internal reference counter. More...
|
|
LSVolumeDefinition is the base class for user-defined volumes.
◆ testSphere()
virtual IntersectResult testSphere |
( |
const Eigen::Vector3d & |
center, |
|
|
double |
radius |
|
) |
| |
|
pure virtual |
Tests if and how a sphere intersects the volume.
- Parameters
-
center | sphere center |
radius | sphere radius |
- Version
- SCENE API Version 2.0.14.
◆ testPoint()
virtual bool testPoint |
( |
const Eigen::Vector3d & |
point | ) |
|
|
pure virtual |
Tests if a point intersects the volume.
- Parameters
-
- Version
- SCENE API Version 2.0.14.