|
OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|

Public Member Functions | |
| Voxel () | |
| Voxel (const Vector_t &min, const Vector_t &max) | |
| void | scale (const Vector_t &scale) |
| bool | intersect (const Ray &r, double &tmin, double &tmax) const |
| bool | intersect (const Ray &r) const |
| int | intersect (const Triangle &t) const |
| Vector_t | extent () const |
| bool | isInside (const Vector_t &P) const |
Public Attributes | |
| Vector_t | pts [2] |
Definition at line 830 of file BoundaryGeometry.cpp.
|
inline |
Definition at line 832 of file BoundaryGeometry.cpp.
Definition at line 833 of file BoundaryGeometry.cpp.
References max(), min(), and pts.

|
inline |
|
inline |
Definition at line 877 of file BoundaryGeometry.cpp.
References intersect().

|
inline |
Definition at line 849 of file BoundaryGeometry.cpp.
References cmp_ulp::ge_zero(), cmp_ulp::gt(), Ray::inv_direction, cmp_ulp::lt(), Ray::origin, pts, and Ray::sign.
Referenced by intersect(), BoundaryGeometry::intersectTinyLineSegmentBoundary(), and BoundaryGeometry::intersectTriangleVoxel().

|
inline |
Definition at line 885 of file BoundaryGeometry.cpp.
References extent(), pts, scale(), and Triangle::scale().

|
inline |
Definition at line 900 of file BoundaryGeometry.cpp.
References cmp_ulp::ge(), cmp_ulp::le(), and pts.

|
inline |
| Vector_t Voxel::pts[2] |
Definition at line 912 of file BoundaryGeometry.cpp.
Referenced by extent(), intersect(), BoundaryGeometry::intersectTinyLineSegmentBoundary(), isInside(), scale(), and Voxel().