From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/class_NLMISC__CAABBoxExt.html | 883 +++++++++++++++++++++++++ 1 file changed, 883 insertions(+) create mode 100644 docs/doxygen/nel/class_NLMISC__CAABBoxExt.html (limited to 'docs/doxygen/nel/class_NLMISC__CAABBoxExt.html') diff --git a/docs/doxygen/nel/class_NLMISC__CAABBoxExt.html b/docs/doxygen/nel/class_NLMISC__CAABBoxExt.html new file mode 100644 index 00000000..d781b217 --- /dev/null +++ b/docs/doxygen/nel/class_NLMISC__CAABBoxExt.html @@ -0,0 +1,883 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLMISC::CAABBoxExt Class Reference

An Extended Axis Aligned Bouding Box. +More... +

+#include <aabbox.h> +

+Inheritance diagram for NLMISC::CAABBoxExt

Inheritance graph
+ + + +
[legend]
Collaboration diagram for NLMISC::CAABBoxExt:

Collaboration graph
+ + + + +
[legend]
List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CAABBoxExt ()
 Empty bbox Constructor. More...

 CAABBoxExt (const CAABBox &o)
 Constructor from a normal BBox. More...

void setCenter (const CVector &center)
void setHalfSize (const CVector &hs)
void setSize (const CVector &s)
void setMinMax (const CVector &bmin, const CVector &bmax)
 Build the bbox, with a min/max style bbox. More...

CAABBoxExt& operator= (const CAABBox &o)
CVector getMin () const
CVector getMax () const
CVector getCenter () const
CVector getHalfSize () const
CVector getSize () const
 Return the size of the bbox. More...

float getRadius () const
 Return the (stored!!) radius of the bbox. More...

CAABBox getAABBox () const
 Return a simple Axis Aligned Bounding Box (no radius inside). More...

bool clipFront (const CPlane &p) const
 Is the bbox partially in front of the plane?? p MUST be normalized. More...

bool clipBack (const CPlane &p) const
 Is the bbox partially in back of the plane?? p MUST be normalized. More...

bool intersect (const CAABBoxExt &box) const
 Does the bbox intersect the bbox box. More...

bool intersect (const CVector &a, const CVector &b, const CVector &c) const
 Does the bbox intersect the triangle ABC. More...

void serial (NLMISC::IStream &f)

Protected Methods

void updateRadius ()

Protected Attributes

float RadiusMin
float RadiusMax
+

Detailed Description

+An Extended Axis Aligned Bouding Box. +

+Sphere Min/Max Radius is stored for improved clip test.

+Author(s):
+ Lionel Berenguier , Nevrax France
+Date:
+ 2000
+

+ +

+Definition at line 128 of file aabbox.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + +
+NLMISC::CAABBoxExt::CAABBoxExt ( + +) [inline] +
+
+ + + + + +
+   + + +

+Empty bbox Constructor. +

+ +

+Definition at line 143 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+NLMISC::CAABBoxExt::CAABBoxExt ( + +const CAABBox & o ) [inline] +
+
+ + + + + +
+   + + +

+Constructor from a normal BBox. +

+ +

+Definition at line 145 of file aabbox.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + +
+bool NLMISC::CAABBoxExt::clipBack ( + +const CPlane & p ) const +
+
+ + + + + +
+   + + +

+Is the bbox partially in back of the plane?? p MUST be normalized. +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 170 of file aabbox.cpp.

+

+ + + + +
+ + + + + + +
+bool NLMISC::CAABBoxExt::clipFront ( + +const CPlane & p ) const +
+
+ + + + + +
+   + + +

+Is the bbox partially in front of the plane?? p MUST be normalized. +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 152 of file aabbox.cpp.

+

+ + + + +
+ + + + + + +
+CAABBox NLMISC::CAABBoxExt::getAABBox ( + +) const [inline] +
+
+ + + + + +
+   + + +

+Return a simple Axis Aligned Bounding Box (no radius inside). +

+ +

+Definition at line 175 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+CVector NLMISC::CAABBoxExt::getCenter ( + +) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 168 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+CVector NLMISC::CAABBoxExt::getHalfSize ( + +) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 169 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+CVector NLMISC::CAABBoxExt::getMax ( + +) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 167 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+CVector NLMISC::CAABBoxExt::getMin ( + +) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 166 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+float NLMISC::CAABBoxExt::getRadius ( + +) const [inline] +
+
+ + + + + +
+   + + +

+Return the (stored!!) radius of the bbox. +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 173 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+CVector NLMISC::CAABBoxExt::getSize ( + +) const [inline] +
+
+ + + + + +
+   + + +

+Return the size of the bbox. +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 171 of file aabbox.h.

+

+ + + + +
+ + + + + + + + + + + + + + +
+bool NLMISC::CAABBoxExt::intersect ( + +const CVector & a, +
+const CVector & b, +
+const CVector & c ) const [inline] +
+
+ + + + + +
+   + + +

+Does the bbox intersect the triangle ABC. +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 188 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+bool NLMISC::CAABBoxExt::intersect ( + +const CAABBoxExt & box ) const [inline] +
+
+ + + + + +
+   + + +

+Does the bbox intersect the bbox box. +

+ +

+Definition at line 185 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+CAABBoxExt & NLMISC::CAABBoxExt::operator= ( + +const CAABBox & o ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 160 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+void NLMISC::CAABBoxExt::serial ( + +NLMISC::IStream & f ) +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 188 of file aabbox.cpp.

+

+ + + + +
+ + + + + + +
+void NLMISC::CAABBoxExt::setCenter ( + +const CVector & center ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 150 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+void NLMISC::CAABBoxExt::setHalfSize ( + +const CVector & hs ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 151 of file aabbox.h.

+

+ + + + +
+ + + + + + + + + + +
+void NLMISC::CAABBoxExt::setMinMax ( + +const CVector & bmin, +
+const CVector & bmax ) [inline] +
+
+ + + + + +
+   + + +

+Build the bbox, with a min/max style bbox. +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 154 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+void NLMISC::CAABBoxExt::setSize ( + +const CVector & s ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLMISC::CAABBox. +

+Definition at line 152 of file aabbox.h.

+

+ + + + +
+ + + + + + +
+void NLMISC::CAABBoxExt::updateRadius ( + +) [inline, protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 133 of file aabbox.h.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+float NLMISC::CAABBoxExt::RadiusMax [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 131 of file aabbox.h.

+

+ + + + +
+ + + + + +
+float NLMISC::CAABBoxExt::RadiusMin [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 131 of file aabbox.h.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1