#include <BoundingSphere.h>
Definition at line 45 of file BoundingSphere.h.
◆ BoundingSphere() [1/4]
Divide::BoundingSphere::BoundingSphere |
( |
| ) |
|
|
noexcept |
◆ BoundingSphere() [2/4]
Divide::BoundingSphere::BoundingSphere |
( |
vec3< F32 > |
center, |
|
|
F32 |
radius |
|
) |
| |
|
explicitnoexcept |
◆ BoundingSphere() [3/4]
Divide::BoundingSphere::BoundingSphere |
( |
const vector< vec3< F32 > > & |
points | ) |
|
|
explicitnoexcept |
◆ BoundingSphere() [4/4]
Divide::BoundingSphere::BoundingSphere |
( |
const std::array< vec3< F32 >, 8 > & |
points | ) |
|
|
explicitnoexcept |
◆ add() [1/2]
◆ add() [2/2]
void Divide::BoundingSphere::add |
( |
const vec3< F32 > & |
point | ) |
|
|
inlinenoexcept |
◆ addRadius() [1/2]
void Divide::BoundingSphere::addRadius |
( |
const BoundingSphere & |
bSphere | ) |
|
|
inlinenoexcept |
◆ addRadius() [2/2]
void Divide::BoundingSphere::addRadius |
( |
const vec3< F32 > & |
point | ) |
|
|
inlinenoexcept |
◆ asVec4()
vec4< F32 > Divide::BoundingSphere::asVec4 |
( |
| ) |
const |
|
inlinenoexcept |
◆ collision()
bool Divide::BoundingSphere::collision |
( |
const BoundingSphere & |
sphere2 | ) |
const |
|
noexcept |
◆ containsBoundingBox()
bool Divide::BoundingSphere::containsBoundingBox |
( |
const BoundingBox & |
AABB | ) |
const |
|
noexcept |
◆ containsPoint()
bool Divide::BoundingSphere::containsPoint |
( |
const vec3< F32 > & |
point | ) |
const |
|
noexcept |
◆ createFromPoints() [1/2]
void Divide::BoundingSphere::createFromPoints |
( |
const std::array< vec3< F32 >, 8 > & |
points | ) |
|
|
inlinenoexcept |
◆ createFromPoints() [2/2]
void Divide::BoundingSphere::createFromPoints |
( |
const vector< vec3< F32 > > & |
points | ) |
|
|
inlinenoexcept |
◆ fromBoundingBox()
void Divide::BoundingSphere::fromBoundingBox |
( |
const BoundingBox & |
bBox | ) |
|
|
inlinenoexcept |
◆ fromBoundingSphere()
void Divide::BoundingSphere::fromBoundingSphere |
( |
const BoundingSphere & |
bSphere | ) |
|
|
inlinenoexcept |
◆ fromOBB()
void Divide::BoundingSphere::fromOBB |
( |
const OBB & |
box | ) |
|
|
noexcept |
◆ getCenter()
const vec3< F32 > & Divide::BoundingSphere::getCenter |
( |
| ) |
const |
|
inlinenoexcept |
◆ getDiameter()
F32 Divide::BoundingSphere::getDiameter |
( |
| ) |
const |
|
inlinenoexcept |
◆ getDistanceFromPoint()
F32 Divide::BoundingSphere::getDistanceFromPoint |
( |
const vec3< F32 > & |
point | ) |
const |
|
inlinenoexcept |
◆ getDistanceSQFromPoint()
F32 Divide::BoundingSphere::getDistanceSQFromPoint |
( |
const vec3< F32 > & |
point | ) |
const |
|
inlinenoexcept |
◆ getRadius()
F32 Divide::BoundingSphere::getRadius |
( |
| ) |
const |
|
inlinenoexcept |
◆ intersect()
◆ reset()
void Divide::BoundingSphere::reset |
( |
| ) |
|
|
inlinenoexcept |
◆ setCenter()
void Divide::BoundingSphere::setCenter |
( |
const vec3< F32 > & |
center | ) |
|
|
inlinenoexcept |
◆ setRadius()
void Divide::BoundingSphere::setRadius |
( |
F32 |
radius | ) |
|
|
inlinenoexcept |
◆ Attorney::BoundingSphereEditor
◆ _center
vec3<F32> Divide::BoundingSphere::_center |
|
private |
◆ _radius
F32 Divide::BoundingSphere::_radius |
|
private |
The documentation for this class was generated from the following files: