OPAL (Object Oriented Parallel Accelerator Library)
2024.1
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 831 of file BoundaryGeometry.cpp.
|
inline |
Definition at line 833 of file BoundaryGeometry.cpp.
Definition at line 834 of file BoundaryGeometry.cpp.
References max(), min(), and pts.
|
inline |
|
inline |
Definition at line 850 of file BoundaryGeometry.cpp.
References cmp_diff::ge_zero(), cmp_diff::gt(), Ray::inv_direction, cmp_diff::lt(), Ray::origin, pts, and Ray::sign.
Referenced by intersect(), BoundaryGeometry::intersectRayBoundary(), BoundaryGeometry::intersectTinyLineSegmentBoundary(), and BoundaryGeometry::intersectTriangleVoxel().
|
inline |
Definition at line 878 of file BoundaryGeometry.cpp.
References intersect().
|
inline |
Definition at line 886 of file BoundaryGeometry.cpp.
References extent(), pts, Triangle::scale(), and scale().
|
inline |
Definition at line 901 of file BoundaryGeometry.cpp.
References cmp_diff::ge(), cmp_diff::le(), and pts.
Referenced by BoundaryGeometry::fastIsInside().
Vector_t Voxel::pts[2] |
Definition at line 913 of file BoundaryGeometry.cpp.
Referenced by extent(), intersect(), BoundaryGeometry::intersectTinyLineSegmentBoundary(), isInside(), scale(), and Voxel().