![]() |
VR-Forces 4.10 Class Documentation
|
Class that will be used to translate positions into a quick lookup key for cached intersections. More...
Public Member Functions | |
| DtIntersectorCacheKey (DtIntersector::IntersectProperties p, DtIntersector::DynamicOceanProperties op, double x, double y, double z) | |
| CTOR for single point intersection. More... | |
| DtIntersectorCacheKey (DtIntersector::IntersectProperties p, DtIntersector::DynamicOceanProperties op, double x, double y, double z, double end_x, double end_y, double end_z) | |
| CTOR for start and end point (line) More... | |
| DtIntersectorCacheKey (const DtIntersectorCacheKey &k) | |
| Copy CTOR. More... | |
| bool | operator== (const DtIntersectorCacheKey &rhs) const |
| Equality operator. More... | |
| bool | operator!= (const DtIntersectorCacheKey &rhs) const |
| std::size_t | hash (const unsigned char *p, int n) |
| Turn key into single hash value. More... | |
| std::size_t | hashValue () const |
| Return calculated hash value. More... | |
| operator std::size_t () const | |
Protected Attributes | |
| double | myVals [8] |
| std::size_t | myHashValue |
Class that will be used to translate positions into a quick lookup key for cached intersections.
|
inline |
CTOR for single point intersection.
References hash(), myHashValue, and myVals.
|
inline |
CTOR for start and end point (line)
References hash(), myHashValue, and myVals.
|
inline |
Copy CTOR.
References myHashValue, and myVals.
|
inline |
Equality operator.
References myHashValue.
|
inline |
Turn key into single hash value.
Referenced by DtIntersectorCacheKey().
|
inline |
Return calculated hash value.
References myHashValue.
|
inline |
References myHashValue.
|
protected |
Referenced by DtIntersectorCacheKey().
|
protected |
Referenced by DtIntersectorCacheKey(), hashValue(), operator std::size_t(), and operator==().