All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
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

const Vec3fcenter () const
 Center of the OBBRSS.
bool contain (const Vec3f &p) const
 Check whether the OBBRSS contains a point.
FCL_REAL depth () const
 Depth 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.
FCL_REAL height () const
 Height of the OBBRSS.
OBBRSS operator+ (const OBBRSS &other) const
 Merge two OBBRSS.
OBBRSSoperator+= (const Vec3f &p)
 Merge the OBBRSS and a point.
OBBRSSoperator+= (const OBBRSS &other)
 Merge two OBBRSS.
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.
FCL_REAL size () const
 Size of the OBBRSS (used in BV_Splitter to order two OBBRSS)
FCL_REAL volume () const
 Volume of the OBBRSS.
FCL_REAL width () const
 Width of the OBRSS.

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.


Member Function Documentation

const Vec3f& fcl::OBBRSS::center ( ) const [inline]

Center of the OBBRSS.

Definition at line 132 of file OBBRSS.h.

bool fcl::OBBRSS::contain ( const Vec3f p) const [inline]

Check whether the OBBRSS contains a point.

Definition at line 72 of file OBBRSS.h.

FCL_REAL fcl::OBBRSS::depth ( ) const [inline]

Depth of the OBBRSS.

Definition at line 114 of file OBBRSS.h.

FCL_REAL fcl::OBBRSS::distance ( const OBBRSS other,
Vec3f P = NULL,
Vec3f Q = NULL 
) const [inline]

Distance between two OBBRSS; P and Q , is not NULL, returns the nearest points.

Definition at line 138 of file OBBRSS.h.

FCL_REAL fcl::OBBRSS::height ( ) const [inline]

Height of the OBBRSS.

Definition at line 108 of file OBBRSS.h.

OBBRSS fcl::OBBRSS::operator+ ( const OBBRSS other) const [inline]

Merge two OBBRSS.

Definition at line 93 of file OBBRSS.h.

OBBRSS& fcl::OBBRSS::operator+= ( const Vec3f p) [inline]

Merge the OBBRSS and a point.

Definition at line 78 of file OBBRSS.h.

OBBRSS& fcl::OBBRSS::operator+= ( const OBBRSS other) [inline]

Merge two OBBRSS.

Definition at line 86 of file OBBRSS.h.

bool fcl::OBBRSS::overlap ( const OBBRSS other) const [inline]

Check collision between two OBBRSS.

Definition at line 60 of file OBBRSS.h.

bool fcl::OBBRSS::overlap ( const OBBRSS other,
OBBRSS overlap_part 
) const [inline]

Check collision between two OBBRSS and return the overlap part.

Definition at line 66 of file OBBRSS.h.

FCL_REAL fcl::OBBRSS::size ( ) const [inline]

Size of the OBBRSS (used in BV_Splitter to order two OBBRSS)

Definition at line 126 of file OBBRSS.h.

FCL_REAL fcl::OBBRSS::volume ( ) const [inline]

Volume of the OBBRSS.

Definition at line 120 of file OBBRSS.h.

FCL_REAL fcl::OBBRSS::width ( ) const [inline]

Width of the OBRSS.

Definition at line 102 of file OBBRSS.h.


Member Data Documentation

OBB member, for rotation.

Definition at line 54 of file OBBRSS.h.

RSS member, for distance.

Definition at line 57 of file OBBRSS.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:31