|
| AZ_TYPE_INFO (Aabb, "{A54C2B36-D5B8-46A1-A529-4EBDBD2450E7}") |
|
const Vector3 & | GetMin () const |
|
const Vector3 & | GetMax () const |
|
void | Set (const Vector3 &min, const Vector3 &max) |
|
void | SetMin (const Vector3 &min) |
|
void | SetMax (const Vector3 &max) |
|
bool | operator== (const AZ::Aabb &aabb) const |
|
bool | operator!= (const AZ::Aabb &aabb) const |
|
float | GetXExtent () const |
|
float | GetYExtent () const |
|
float | GetZExtent () const |
|
Vector3 | GetExtents () const |
|
Vector3 | GetCenter () const |
|
Vector3 | GetSupport (const Vector3 &normal) const |
|
void | GetAsSphere (Vector3 ¢er, float &radius) const |
|
bool | Contains (const Vector3 &v) const |
|
bool | Contains (const Aabb &aabb) const |
|
bool | Overlaps (const Aabb &aabb) const |
|
bool | Disjoint (const Aabb &aabb) const |
|
void | Expand (const Vector3 &delta) |
| Expands all dimensions by delta, minimum and maximum, such that GetExtents would return values 2 x delta larger.
|
|
const Aabb | GetExpanded (const Vector3 &delta) const |
| Expands all dimensions by delta, minimum and maximum, such that GetExtents would return values 2 x delta larger.
|
|
void | AddPoint (const Vector3 &p) |
|
void | AddAabb (const Aabb &box) |
|
float | GetDistance (const Vector3 &p) const |
| Calculates distance from the AABB to specified point, a point inside the AABB will return zero.
|
|
float | GetDistanceSq (const Vector3 &p) const |
| Calculates squared distance from the AABB to specified point, a point inside the AABB will return zero.
|
|
float | GetMaxDistance (const Vector3 &p) const |
|
float | GetMaxDistanceSq (const Vector3 &p) const |
|
Aabb | GetClamped (const Aabb &clamp) const |
| Clamps the AABB to be contained within the specified AABB.
|
|
void | Clamp (const Aabb &clamp) |
|
void | SetNull () |
|
void | Translate (const Vector3 &offset) |
|
Aabb | GetTranslated (const Vector3 &offset) const |
|
float | GetSurfaceArea () const |
|
void | ApplyTransform (const Transform &transform) |
|
void | ApplyMatrix3x4 (const Matrix3x4 &matrix3x4) |
|
void | MultiplyByScale (const Vector3 &scale) |
|
Obb | GetTransformedObb (const Transform &transform) const |
| Transforms an Aabb and returns the resulting Obb.
|
|
Obb | GetTransformedObb (const Matrix3x4 &matrix3x4) const |
| Transforms an Aabb and returns the resulting Obb.
|
|
Aabb | GetTransformedAabb (const Transform &transform) const |
| Returns a new AABB containing the transformed AABB.
|
|
Aabb | GetTransformedAabb (const Matrix3x4 &matrix3x4) const |
| Returns a new AABB containing the transformed AABB.
|
|
bool | IsClose (const Aabb &rhs, float tolerance=Constants::Tolerance) const |
| Checks if this aabb is equal to another within a floating point tolerance.
|
|
bool | IsValid () const |
|
bool | IsFinite () const |
|
An axis aligned bounding box. It is defined as a closed set, i.e. it includes the boundary, so it will always include at least one point.