Inheritance Graph
graph BT
_Box
click _Box "classGeometry_1_1__Box"
Description
Three-dimensional axis-aligned box. [Box]
Main
| |
|
| |
|
| |
_Box() |
| |
|
| |
_Box(value_t minx, value_t maxx, value_t miny, value_t maxy, value_t minz, value_t maxz) |
| |
|
| |
_Box(const vec3_t & center, value_t size) |
| |
|
| |
_Box(const vec3_t & center, value_t dimX, value_t dimY, value_t dimZ) |
| |
|
| |
_Box(const vec3_t & cornerA, const vec3_t & cornerB) |
Modification
| |
|
| |
|
| void |
invalidate() |
| |
|
| void |
setMaxX(value_t x) |
| |
|
| void |
setMaxY(value_t y) |
| |
|
| void |
setMaxZ(value_t z) |
| |
|
| void |
setMax( dimension_t dim, value_t value) |
| |
|
| void |
setMax(const vec3_t & newMax) |
| |
|
| void |
setMinX(value_t x) |
| |
|
| void |
setMinY(value_t y) |
| |
|
| void |
setMinZ(value_t z) |
| |
|
| void |
setMin( dimension_t dim, value_t value) |
| |
|
| void |
setMin(const vec3_t & newMin) |
| |
|
| void |
include(const _Box & b) |
| |
|
| void |
include(const value_t x, const value_t y, const value_t z) |
| |
|
| void |
set(value_t minX, value_t maxX, value_t minY, value_t maxY, value_t minZ, value_t maxZ) |
| |
|
| void |
set(value_t x, value_t y, value_t z) |
| |
|
| void |
include(const vec3_t & p) |
| |
|
| void |
setCenter(const vec3_t & v) |
| |
|
| void |
resizeAbs(value_t size) |
| |
|
| void |
resizeRel(value_t relSize) |
| |
|
| void |
resizeAbs(value_t sizeX, value_t sizeY, value_t sizeZ) |
| |
|
| void |
resizeRel(value_t relSizeX, value_t relSizeY, value_t relSizeZ) |
| |
|
| void |
translate(const vec3_t & v) |
| |
|
| void |
setExtent(value_t ex) |
| |
|
| void |
setExtentX(value_t ex) |
| |
|
| void |
setExtentY(value_t ey) |
| |
|
| void |
setExtentZ(value_t ez) |
Comparators
Serialization
Public Types
Documentation
function
Geometry::_Box::_Box
Defined in Geometry/Box.h:44
function
Geometry::_Box::_Box
| |
|
|
| |
|
|
| _Box( |
value_t |
minx, |
| |
value_t |
maxx, |
| |
value_t |
miny, |
| |
value_t |
maxy, |
| |
value_t |
minz, |
| |
value_t |
maxz |
| ) |
|
|
Defined in Geometry/Box.h:46
function
Geometry::_Box::_Box
Defined in Geometry/Box.h:49
function
Geometry::_Box::_Box
| |
|
|
| |
|
|
| _Box( |
const vec3_t & |
center, |
| |
value_t |
dimX, |
| |
value_t |
dimY, |
| |
value_t |
dimZ |
| ) |
|
|
Defined in Geometry/Box.h:53
function
Geometry::_Box::_Box
Defined in Geometry/Box.h:57
function
Geometry::_Box::getMaxX
Defined in Geometry/Box.h:70
function
Geometry::_Box::getMaxY
Defined in Geometry/Box.h:73
function
Geometry::_Box::getMaxZ
Defined in Geometry/Box.h:76
function
Geometry::_Box::getMax
Defined in Geometry/Box.h:79
function
Geometry::_Box::getMax
Defined in Geometry/Box.h:80
function
Geometry::_Box::getMinX
Defined in Geometry/Box.h:83
function
Geometry::_Box::getMinY
Defined in Geometry/Box.h:86
function
Geometry::_Box::getMinZ
Defined in Geometry/Box.h:89
function
Geometry::_Box::getMin
Defined in Geometry/Box.h:92
function
Geometry::_Box::getMin
Defined in Geometry/Box.h:93
function
Geometry::_Box::getExtentMax
Defined in Geometry/Box.h:96
function
Geometry::_Box::getExtentMin
Defined in Geometry/Box.h:97
function
Geometry::_Box::getExtentX
Defined in Geometry/Box.h:98
function
Geometry::_Box::getExtentY
Defined in Geometry/Box.h:101
function
Geometry::_Box::getExtentZ
Defined in Geometry/Box.h:104
function
Geometry::_Box::getExtent
Defined in Geometry/Box.h:107
function
Geometry::_Box::getDiameter
Returns
length of the space diagonal
Defined in Geometry/Box.h:112
function
Geometry::_Box::getDiameterSquared
Returns
squared length of the space diagonal
Defined in Geometry/Box.h:117
function
Geometry::_Box::getVolume
Defined in Geometry/Box.h:119
function
Geometry::_Box::getSurfaceArea
Defined in Geometry/Box.h:120
function
Geometry::_Box::getCorner
Defined in Geometry/Box.h:122
function
Geometry::_Box::getOctant
Defined in Geometry/Box.h:137
function
Geometry::_Box::contains
| |
|
|
| |
|
|
| bool contains( |
value_t |
x, |
| |
value_t |
y, |
| |
value_t |
z |
| ) const |
|
|
Defined in Geometry/Box.h:139
function
Geometry::_Box::contains
Defined in Geometry/Box.h:140
function
Geometry::_Box::contains
Defined in Geometry/Box.h:141
function
Geometry::_Box::getDistance
Parameters
- p
- Point to be used for calculations
Returns
the distance between this and p
Note: distance is defined as the minimum distance p has to be moved such that this.contains(p) returns true
Defined in Geometry/Box.h:150
function
Geometry::_Box::getDistanceSquared
same as getDistance, but faster because of missing sqrt() call
Defined in Geometry/Box.h:154
function
Geometry::_Box::getClosestPoint
Defined in Geometry/Box.h:156
function
Geometry::_Box::isValid
Defined in Geometry/Box.h:158
function
Geometry::_Box::isInvalid
Defined in Geometry/Box.h:159
function
Geometry::_Box::getCenter
Defined in Geometry/Box.h:163
function
Geometry::_Box::getBoundingSphereRadius
Defined in Geometry/Box.h:166
function
Geometry::_Box::getOppositeCorner
Retrieve the corner index which does not share any side with the given corner index.
Parameters
- corner
- Index of a box corner.
Returns
Index of the corner that is on the other end of the box’s diagonal starting at the given corner.
Defined in Geometry/Box.h:129
function
Geometry::_Box::invalidate
Defined in Geometry/Box.h:175
function
Geometry::_Box::setMaxX
Defined in Geometry/Box.h:176
function
Geometry::_Box::setMaxY
Defined in Geometry/Box.h:179
function
Geometry::_Box::setMaxZ
Defined in Geometry/Box.h:182
function
Geometry::_Box::setMax
Defined in Geometry/Box.h:185
function
Geometry::_Box::setMax
Defined in Geometry/Box.h:186
function
Geometry::_Box::setMinX
Defined in Geometry/Box.h:189
function
Geometry::_Box::setMinY
Defined in Geometry/Box.h:192
function
Geometry::_Box::setMinZ
Defined in Geometry/Box.h:195
function
Geometry::_Box::setMin
Defined in Geometry/Box.h:198
function
Geometry::_Box::setMin
Defined in Geometry/Box.h:199
function
Geometry::_Box::include
Defined in Geometry/Box.h:202
function
Geometry::_Box::include
| |
|
|
| |
|
|
| void include( |
const value_t |
x, |
| |
const value_t |
y, |
| |
const value_t |
z |
| ) |
|
|
Defined in Geometry/Box.h:203
function
Geometry::_Box::set
| |
|
|
| |
|
|
| void set( |
value_t |
minX, |
| |
value_t |
maxX, |
| |
value_t |
minY, |
| |
value_t |
maxY, |
| |
value_t |
minZ, |
| |
value_t |
maxZ |
| ) |
|
|
Defined in Geometry/Box.h:204
function
Geometry::_Box::set
| |
|
|
| |
|
|
| void set( |
value_t |
x, |
| |
value_t |
y, |
| |
value_t |
z |
| ) |
|
|
Defined in Geometry/Box.h:205
function
Geometry::_Box::include
Defined in Geometry/Box.h:206
function
Geometry::_Box::setCenter
Defined in Geometry/Box.h:207
function
Geometry::_Box::resizeAbs
Defined in Geometry/Box.h:208
function
Geometry::_Box::resizeRel
Defined in Geometry/Box.h:209
function
Geometry::_Box::resizeAbs
| |
|
|
| |
|
|
| void resizeAbs( |
value_t |
sizeX, |
| |
value_t |
sizeY, |
| |
value_t |
sizeZ |
| ) |
|
|
Defined in Geometry/Box.h:210
function
Geometry::_Box::resizeRel
| |
|
|
| |
|
|
| void resizeRel( |
value_t |
relSizeX, |
| |
value_t |
relSizeY, |
| |
value_t |
relSizeZ |
| ) |
|
|
Defined in Geometry/Box.h:211
function
Geometry::_Box::translate
Defined in Geometry/Box.h:212
function
Geometry::_Box::setExtent
Defined in Geometry/Box.h:216
function
Geometry::_Box::setExtentX
Defined in Geometry/Box.h:217
function
Geometry::_Box::setExtentY
Defined in Geometry/Box.h:218
function
Geometry::_Box::setExtentZ
Defined in Geometry/Box.h:219
function
Geometry::_Box::operator==
Defined in Geometry/Box.h:226
function
Geometry::_Box::operator!=
Defined in Geometry/Box.h:229
typedef
Geometry::_Box::vec3_t
Defined in Geometry/Box.h:33