#include <OOBB.hpp>
List of all members.
Detailed Description
Definition at line 21 of file OOBB.hpp.
Constructor & Destructor Documentation
Initializes OOBB with AABB3d values, rotation is set to identity!
Definition at line 40 of file OOBB.hpp.
Member Function Documentation
Adjust box that all axes have at least a minimal extent minExtent
Definition at line 75 of file OOBB.cpp.
Adjust box that all axes have at least a minimal extent of maxExtent*p, if maxExtent*p < eps then all axes to default extent
Definition at line 53 of file OOBB.cpp.
template<bool coordinateSystemIsI = true>
Get all corner points in I Frame
- Returns:
- A list of all corner points sorted according to (x,y,z) index in K frame
- Parameters:
-
coordinateSystemIsI | determines if the the output points are represented in the coordinate system I or if false they are represented in the coordinate system of the OOBB, that is, system K (move semantics make this fast) |
Definition at line 153 of file OOBB.hpp.
Get direction vectors in I Frame
Definition at line 139 of file OOBB.hpp.
OOBB& ApproxMVBB::OOBB::operator= |
( |
AABB3d & |
aabb | ) |
[inline] |
Initializes OOBB with AABB3d values, rotation is set to identity!
Definition at line 47 of file OOBB.hpp.
template<typename Derived , bool coordinateSystemIsI = true>
Checks if a point overlaps the OOBB
- Parameters:
-
p | input point which is regar |
coordinateSystemIsI | determines if the the input point p is in the coordinate system I or if false it is regarded to be in the coordinate system of the OOBB, that is, system K |
Definition at line 104 of file OOBB.hpp.
Switch the z-Axis to the axis with index i (default x-Axis)
Definition at line 23 of file OOBB.cpp.
template<typename Derived >
Member Data Documentation
Rotation of frame I to frame K, corresponds to a transformation A_IK;.
Definition at line 175 of file OOBB.hpp.
The documentation for this class was generated from the following files: