All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends

fcl::OBBRSS Class Reference

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

#include <OBBRSS.h>

List of all members.


Public Member Functions

bool overlap (const OBBRSS &other) const
 Check collision between two OBBRSS.
bool overlap (const OBBRSS &other, OBBRSS &overlap_part) const
 Check collision between two OBBRSS and return the overlap part.
bool contain (const Vec3f &p) const
 Check whether the OBBRSS contains a point.
OBBRSSoperator+= (const Vec3f &p)
 Merge the OBBRSS and a point.
OBBRSSoperator+= (const OBBRSS &other)
 Merge two OBBRSS.
OBBRSS operator+ (const OBBRSS &other) const
 Merge two OBBRSS.
FCL_REAL width () const
 Width of the OBRSS.
FCL_REAL height () const
 Height of the OBBRSS.
FCL_REAL depth () const
 Depth of the OBBRSS.
FCL_REAL volume () const
 Volume of the OBBRSS.
FCL_REAL size () const
 Size of the OBBRSS (used in BV_Splitter to order two OBBRSS).
const Vec3fcenter () const
 Center of the OBBRSS.
FCL_REAL distance (const OBBRSS &other, Vec3f *P=NULL, Vec3f *Q=NULL) const
 Distance between two OBBRSS; P and Q , is not NULL, returns the nearest points.

Public Attributes

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

Detailed Description

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

Definition at line 49 of file OBBRSS.h.


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