|
| | RSS () |
| |
|
| |
| bool | operator== (const RSS &other) const |
| | Equality operator.
|
| |
| bool | operator!= (const RSS &other) const |
| | Difference operator.
|
| |
| bool | contain (const Vec3s &p) const |
| | Check whether the RSS contains a point.
|
| |
| bool | overlap (const RSS &other) const |
| | Check collision between two RSS.
|
| |
| bool | overlap (const RSS &other, const CollisionRequest &, Scalar &sqrDistLowerBound) const |
| | Not implemented.
|
| |
| Scalar | distance (const RSS &other, Vec3s *P=NULL, Vec3s *Q=NULL) const |
| | the distance between two RSS; P and Q, if not NULL, return the nearest points
|
| |
| RSS & | operator+= (const Vec3s &p) |
| | A simple way to merge the RSS and a point, not compact.
|
| |
| RSS & | operator+= (const RSS &other) |
| | Merge the RSS and another RSS.
|
| |
| RSS | operator+ (const RSS &other) const |
| | Return the merged RSS of current RSS and the other one.
|
| |
| Scalar | size () const |
| | Size of the RSS (used in BV_Splitter to order two RSSs)
|
| |
| const Vec3s & | center () const |
| | The RSS center.
|
| |
| Scalar | width () const |
| | Width of the RSS.
|
| |
| Scalar | height () const |
| | Height of the RSS.
|
| |
| Scalar | depth () const |
| | Depth of the RSS.
|
| |
| Scalar | volume () const |
| | Volume of the RSS.
|
| |
| bool | overlap (const RSS &other, RSS &) const |
| | Check collision between two RSS and return the overlap part. For RSS, we return nothing, as the overlap part of two RSSs usually is not a RSS.
|
| |
A class for rectangle sphere-swept bounding volume.