From 7028cbe09c688437910a25623098762bf0fa592d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 28 Mar 2016 22:28:34 +1000 Subject: Move Irrlicht to src/others. --- .../doc/html/classirr_1_1core_1_1aabbox3d.html | 1087 ++++++++++++++++++++ 1 file changed, 1087 insertions(+) create mode 100644 src/others/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1aabbox3d.html (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1aabbox3d.html') diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1aabbox3d.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1aabbox3d.html new file mode 100644 index 0000000..e0cbca7 --- /dev/null +++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1aabbox3d.html @@ -0,0 +1,1087 @@ + + +
+ +Axis aligned bounding box in 3d dimensional space. + More...
+ +#include <aabbox3d.h>
Axis aligned bounding box in 3d dimensional space.
+Has some useful methods used with occlusion culling or clipping.
+ +Definition at line 21 of file aabbox3d.h.
+irr::core::aabbox3d< T >::aabbox3d | +( | +) | + [inline] |
+
Default Constructor.
+ +Definition at line 26 of file aabbox3d.h.
+ +irr::core::aabbox3d< T >::aabbox3d | +( | +const vector3d< T > & | +min, | +
+ | + | const vector3d< T > & | +max | +
+ | ) | + [inline] |
+
Constructor with min edge and max edge.
+ +Definition at line 28 of file aabbox3d.h.
+ +irr::core::aabbox3d< T >::aabbox3d | +( | +const vector3d< T > & | +init | ) | + [inline] |
+
Constructor with only one point.
+ +Definition at line 30 of file aabbox3d.h.
+ +irr::core::aabbox3d< T >::aabbox3d | +( | +T | +minx, | +
+ | + | T | +miny, | +
+ | + | T | +minz, | +
+ | + | T | +maxx, | +
+ | + | T | +maxy, | +
+ | + | T | +maxz | +
+ | ) | + [inline] |
+
Constructor with min edge and max edge as single values, not vectors.
+ +Definition at line 32 of file aabbox3d.h.
+ +void irr::core::aabbox3d< T >::addInternalBox | +( | +const aabbox3d< T > & | +b | ) | + [inline] |
+
Adds another bounding box.
+The box grows bigger, if the new box was outside of the box.
+b,: | Other bounding box to add into this box. |
Definition at line 82 of file aabbox3d.h.
+ +Referenced by irr::scene::IMeshManipulator::apply(), irr::scene::SMesh::recalculateBoundingBox(), and irr::scene::SAnimatedMesh::recalculateBoundingBox().
+ +void irr::core::aabbox3d< T >::addInternalPoint | +( | +const vector3d< T > & | +p | ) | + [inline] |
+
Adds a point to the bounding box.
+The box grows bigger, if point was outside of the box.
+p,: | Point to add into the box. |
Definition at line 74 of file aabbox3d.h.
+ +Referenced by irr::core::aabbox3d< f32 >::addInternalBox(), irr::core::aabbox3d< f32 >::addInternalPoint(), irr::scene::CMeshBuffer< T >::append(), irr::scene::IMeshManipulator::apply_(), irr::scene::SViewFrustum::recalculateBoundingBox(), irr::scene::CDynamicMeshBuffer::recalculateBoundingBox(), irr::scene::SSharedMeshBuffer::recalculateBoundingBox(), irr::scene::CMeshBuffer< T >::recalculateBoundingBox(), and irr::scene::SSkinMeshBuffer::recalculateBoundingBox().
+ +void irr::core::aabbox3d< T >::addInternalPoint | +( | +T | +x, | +
+ | + | T | +y, | +
+ | + | T | +z | +
+ | ) | + [inline] |
+
Adds a point to the bounding box.
+The box grows bigger, if point is outside of the box.
+x | X coordinate of the point to add to this box. |
y | Y coordinate of the point to add to this box. |
z | Z coordinate of the point to add to this box. |
Definition at line 93 of file aabbox3d.h.
+ +EIntersectionRelation3D irr::core::aabbox3d< T >::classifyPlaneRelation | +( | +const plane3d< T > & | +plane | ) | + const [inline] |
+
Classifies a relation with a plane.
+plane | Plane to classify relation to. |
Definition at line 284 of file aabbox3d.h.
+ +T irr::core::aabbox3d< T >::getArea | +( | +) | + const [inline] |
+
Get the surface area of the box in squared units.
+ +Definition at line 134 of file aabbox3d.h.
+ +vector3d<T> irr::core::aabbox3d< T >::getCenter | +( | +) | + const [inline] |
+
Get center of the bounding box.
+Definition at line 106 of file aabbox3d.h.
+ +Referenced by irr::core::aabbox3d< f32 >::getEdges(), and irr::core::aabbox3d< f32 >::intersectsWithLine().
+ +void irr::core::aabbox3d< T >::getEdges | +( | +vector3d< T > * | +edges | ) | + const [inline] |
+
Stores all 8 edges of the box into an array.
+edges,: | Pointer to array of 8 edges. |
Definition at line 142 of file aabbox3d.h.
+ +vector3d<T> irr::core::aabbox3d< T >::getExtent | +( | +) | + const [inline] |
+
Get extent of the box (maximal distance of two points in the box)
+Definition at line 113 of file aabbox3d.h.
+ +Referenced by irr::core::aabbox3d< f32 >::getArea(), irr::core::aabbox3d< f32 >::getVolume(), and irr::core::aabbox3d< f32 >::intersectsWithLine().
+ +aabbox3d<T> irr::core::aabbox3d< T >::getInterpolated | +( | +const aabbox3d< T > & | +other, | +
+ | + | f32 | +d | +
+ | ) | + const [inline] |
+
Calculates a new interpolated bounding box.
+d=0 returns other, d=1 returns this, all other values blend between the two boxes.
+other | Other box to interpolate between |
d | Value between 0.0f and 1.0f. |
Definition at line 190 of file aabbox3d.h.
+ +T irr::core::aabbox3d< T >::getVolume | +( | +) | + const [inline] |
+
Get the volume enclosed by the box in cubed units.
+ +Definition at line 127 of file aabbox3d.h.
+ +bool irr::core::aabbox3d< T >::intersectsWithBox | +( | +const aabbox3d< T > & | +other | ) | + const [inline] |
+
Determines if the axis-aligned box intersects with another axis-aligned box.
+other,: | Other box to check a intersection with. |
Definition at line 233 of file aabbox3d.h.
+ +bool irr::core::aabbox3d< T >::intersectsWithLine | +( | +const line3d< T > & | +line | ) | + const [inline] |
+
Tests if the box intersects with a line.
+line,: | Line to test intersection with. |
Definition at line 242 of file aabbox3d.h.
+ +Referenced by irr::core::aabbox3d< f32 >::intersectsWithLine().
+ +bool irr::core::aabbox3d< T >::intersectsWithLine | +( | +const vector3d< T > & | +linemiddle, | +
+ | + | const vector3d< T > & | +linevect, | +
+ | + | T | +halflength | +
+ | ) | + const [inline] |
+
Tests if the box intersects with a line.
+linemiddle | Center of the line. |
linevect | Vector of the line. |
halflength | Half length of the line. |
Definition at line 253 of file aabbox3d.h.
+ +bool irr::core::aabbox3d< T >::isEmpty | +( | +) | + const [inline] |
+
Check if the box is empty.
+This means that there is no space between the min and max edge.
+Definition at line 121 of file aabbox3d.h.
+ +bool irr::core::aabbox3d< T >::isFullInside | +( | +const aabbox3d< T > & | +other | ) | + const [inline] |
+
Check if this box is completely inside the 'other' box.
+other,: | Other box to check against. |
Definition at line 223 of file aabbox3d.h.
+ +bool irr::core::aabbox3d< T >::isPointInside | +( | +const vector3d< T > & | +p | ) | + const [inline] |
+
Determines if a point is within this box.
+Border is included (IS part of the box)!
+p,: | Point to check. |
Definition at line 201 of file aabbox3d.h.
+ +Referenced by irr::core::triangle3d< T >::isTotalInsideBox().
+ +bool irr::core::aabbox3d< T >::isPointTotalInside | +( | +const vector3d< T > & | +p | ) | + const [inline] |
+
Determines if a point is within this box and not its borders.
+Border is excluded (NOT part of the box)!
+p,: | Point to check. |
Definition at line 212 of file aabbox3d.h.
+ +bool irr::core::aabbox3d< T >::operator!= | +( | +const aabbox3d< T > & | +other | ) | + const [inline] |
+
Inequality operator.
+other | box to compare with. |
Definition at line 42 of file aabbox3d.h.
+ +bool irr::core::aabbox3d< T >::operator== | +( | +const aabbox3d< T > & | +other | ) | + const [inline] |
+
Equality operator.
+other | box to compare with. |
Definition at line 38 of file aabbox3d.h.
+ +void irr::core::aabbox3d< T >::repair | +( | +) | + [inline] |
+
Repairs the box.
+Necessary if for example MinEdge and MaxEdge are swapped.
+ +Definition at line 172 of file aabbox3d.h.
+ +Referenced by irr::core::CMatrix4< T >::transformBox().
+ +void irr::core::aabbox3d< T >::reset | +( | +T | +x, | +
+ | + | T | +y, | +
+ | + | T | +z | +
+ | ) | + [inline] |
+
Resets the bounding box to a one-point box.
+x | X coord of the point. |
y | Y coord of the point. |
z | Z coord of the point. |
Definition at line 50 of file aabbox3d.h.
+ +Referenced by irr::scene::IMeshManipulator::apply(), irr::scene::IMeshManipulator::apply_(), irr::scene::SMesh::clear(), irr::scene::SMesh::recalculateBoundingBox(), irr::scene::SViewFrustum::recalculateBoundingBox(), irr::scene::CDynamicMeshBuffer::recalculateBoundingBox(), irr::scene::SAnimatedMesh::recalculateBoundingBox(), irr::scene::SSharedMeshBuffer::recalculateBoundingBox(), irr::scene::CMeshBuffer< T >::recalculateBoundingBox(), and irr::scene::SSkinMeshBuffer::recalculateBoundingBox().
+ +void irr::core::aabbox3d< T >::reset | +( | +const aabbox3d< T > & | +initValue | ) | + [inline] |
+
Resets the bounding box.
+initValue | New box to set this one to. |
Definition at line 58 of file aabbox3d.h.
+ +void irr::core::aabbox3d< T >::reset | +( | +const vector3d< T > & | +initValue | ) | + [inline] |
+
Resets the bounding box to a one-point box.
+initValue | New point. |
Definition at line 65 of file aabbox3d.h.
+ +vector3d<T> irr::core::aabbox3d< T >::MaxEdge | +
The far edge.
+ +Definition at line 320 of file aabbox3d.h.
+ +Referenced by irr::core::aabbox3d< f32 >::addInternalBox(), irr::core::aabbox3d< f32 >::addInternalPoint(), irr::core::aabbox3d< f32 >::classifyPlaneRelation(), irr::core::aabbox3d< f32 >::getCenter(), irr::core::aabbox3d< f32 >::getEdges(), irr::core::aabbox3d< f32 >::getExtent(), irr::core::aabbox3d< f32 >::getInterpolated(), irr::core::aabbox3d< f32 >::intersectsWithBox(), irr::core::aabbox3d< f32 >::isEmpty(), irr::core::aabbox3d< f32 >::isFullInside(), irr::core::aabbox3d< f32 >::isPointInside(), irr::core::aabbox3d< f32 >::isPointTotalInside(), irr::core::triangle3d< T >::isTotalOutsideBox(), irr::core::aabbox3d< f32 >::operator!=(), irr::core::aabbox3d< f32 >::operator==(), irr::core::aabbox3d< f32 >::repair(), irr::core::aabbox3d< f32 >::reset(), irr::core::CMatrix4< T >::transformBox(), and irr::core::CMatrix4< T >::transformBoxEx().
+ +vector3d<T> irr::core::aabbox3d< T >::MinEdge | +
The near edge.
+ +Definition at line 317 of file aabbox3d.h.
+ +Referenced by irr::core::aabbox3d< f32 >::addInternalBox(), irr::core::aabbox3d< f32 >::addInternalPoint(), irr::core::aabbox3d< f32 >::classifyPlaneRelation(), irr::core::aabbox3d< f32 >::getCenter(), irr::core::aabbox3d< f32 >::getExtent(), irr::core::aabbox3d< f32 >::getInterpolated(), irr::core::aabbox3d< f32 >::intersectsWithBox(), irr::core::aabbox3d< f32 >::isEmpty(), irr::core::aabbox3d< f32 >::isFullInside(), irr::core::aabbox3d< f32 >::isPointInside(), irr::core::aabbox3d< f32 >::isPointTotalInside(), irr::core::triangle3d< T >::isTotalOutsideBox(), irr::core::aabbox3d< f32 >::operator!=(), irr::core::aabbox3d< f32 >::operator==(), irr::core::aabbox3d< f32 >::repair(), irr::core::aabbox3d< f32 >::reset(), irr::core::CMatrix4< T >::transformBox(), and irr::core::CMatrix4< T >::transformBoxEx().
+ +