coal  3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
coal::OBBRSS Struct Reference

Class merging the OBB and RSS, can handle collision and distance simultaneously. More...

#include <coal/BV/OBBRSS.h>

Collaboration diagram for coal::OBBRSS:

Public Member Functions

bool operator== (const OBBRSS &other) const
 Equality operator. More...
 
bool operator!= (const OBBRSS &other) const
 Difference operator. More...
 
bool contain (const Vec3s &p) const
 Check whether the OBBRSS contains a point. More...
 
bool overlap (const OBBRSS &other) const
 Check collision between two OBBRSS. More...
 
bool overlap (const OBBRSS &other, const CollisionRequest &request, Scalar &sqrDistLowerBound) const
 
Scalar distance (const OBBRSS &other, Vec3s *P=NULL, Vec3s *Q=NULL) const
 Distance between two OBBRSS; P and Q , is not NULL, returns the nearest points. More...
 
OBBRSSoperator+= (const Vec3s &p)
 Merge the OBBRSS and a point. More...
 
OBBRSSoperator+= (const OBBRSS &other)
 Merge two OBBRSS. More...
 
OBBRSS operator+ (const OBBRSS &other) const
 Merge two OBBRSS. More...
 
Scalar size () const
 Size of the OBBRSS (used in BV_Splitter to order two OBBRSS) More...
 
const Vec3scenter () const
 Center of the OBBRSS. More...
 
Scalar width () const
 Width of the OBRSS. More...
 
Scalar height () const
 Height of the OBBRSS. More...
 
Scalar depth () const
 Depth of the OBBRSS. More...
 
Scalar volume () const
 Volume of the OBBRSS. More...
 

Public Attributes

EIGEN_MAKE_ALIGNED_OPERATOR_NEW OBB obb
 OBB member, for rotation. More...
 
RSS rss
 RSS member, for distance. More...
 

Detailed Description

Class merging the OBB and RSS, can handle collision and distance simultaneously.


The documentation for this struct was generated from the following file: