sead
Loading...
Searching...
No Matches
sead::BoundBox3< T > Class Template Reference

#include <seadBoundBox.h>

Public Types

typedef sead::Vector3< T > Vector3

Public Member Functions

 BoundBox3 ()
 BoundBox3 (T x0, T y0, T z0, T x1, T y1, T z1)
 BoundBox3 (const Vector3 &min, const Vector3 &max)
getSizeX () const
getSizeY () const
getSizeZ () const
getHalfSizeX () const
getHalfSizeY () const
getHalfSizeZ () const
const Vector3getMin () const
const Vector3getMax () const
Vector3 getCenter () const
void getCenter (Vector3 *p) const
bool isUndef () const
bool isInside (const Vector3 &p) const
void setUndef ()
void set (T x0, T y0, T z0, T x1, T y1, T z1)
void set (const Vector3 &min, const Vector3 &max)
void setMin (const Vector3 &min)
void setMax (const Vector3 &max)
void offset (T dx, T dy, T dz)
void offset (const Vector3 &dv)
void scaleX (T sx)
void scaleY (T sy)
void scaleZ (T sz)

Private Attributes

Vector3 mMin
Vector3 mMax

Member Typedef Documentation

◆ Vector3

template<typename T>
typedef sead::Vector3<T> sead::BoundBox3< T >::Vector3

Constructor & Destructor Documentation

◆ BoundBox3() [1/3]

template<typename T>
sead::BoundBox3< T >::BoundBox3 ( )
inline

◆ BoundBox3() [2/3]

template<typename T>
sead::BoundBox3< T >::BoundBox3 ( T x0,
T y0,
T z0,
T x1,
T y1,
T z1 )
inline

◆ BoundBox3() [3/3]

template<typename T>
sead::BoundBox3< T >::BoundBox3 ( const Vector3 & min,
const Vector3 & max )
inline

Member Function Documentation

◆ getSizeX()

template<typename T>
T sead::BoundBox3< T >::getSizeX ( ) const
inline

◆ getSizeY()

template<typename T>
T sead::BoundBox3< T >::getSizeY ( ) const
inline

◆ getSizeZ()

template<typename T>
T sead::BoundBox3< T >::getSizeZ ( ) const
inline

◆ getHalfSizeX()

template<typename T>
T sead::BoundBox3< T >::getHalfSizeX ( ) const
inline

◆ getHalfSizeY()

template<typename T>
T sead::BoundBox3< T >::getHalfSizeY ( ) const
inline

◆ getHalfSizeZ()

template<typename T>
T sead::BoundBox3< T >::getHalfSizeZ ( ) const
inline

◆ getMin()

template<typename T>
const Vector3 & sead::BoundBox3< T >::getMin ( ) const
inline

◆ getMax()

template<typename T>
const Vector3 & sead::BoundBox3< T >::getMax ( ) const
inline

◆ getCenter() [1/2]

template<typename T>
Vector3< T > sead::BoundBox3< T >::getCenter ( ) const
inline

◆ getCenter() [2/2]

template<typename T>
void sead::BoundBox3< T >::getCenter ( Vector3 * p) const
inline

◆ isUndef()

template<typename T>
bool sead::BoundBox3< T >::isUndef ( ) const
inline

◆ isInside()

template<typename T>
bool sead::BoundBox3< T >::isInside ( const Vector3 & p) const
inline

◆ setUndef()

template<typename T>
void sead::BoundBox3< T >::setUndef ( )
inline

◆ set() [1/2]

template<typename T>
void sead::BoundBox3< T >::set ( T x0,
T y0,
T z0,
T x1,
T y1,
T z1 )
inline

◆ set() [2/2]

template<typename T>
void sead::BoundBox3< T >::set ( const Vector3 & min,
const Vector3 & max )
inline

◆ setMin()

template<typename T>
void sead::BoundBox3< T >::setMin ( const Vector3 & min)
inline

◆ setMax()

template<typename T>
void sead::BoundBox3< T >::setMax ( const Vector3 & max)
inline

◆ offset() [1/2]

template<typename T>
void sead::BoundBox3< T >::offset ( T dx,
T dy,
T dz )
inline

◆ offset() [2/2]

template<typename T>
void sead::BoundBox3< T >::offset ( const Vector3 & dv)
inline

◆ scaleX()

template<typename T>
void sead::BoundBox3< T >::scaleX ( T sx)
inline

◆ scaleY()

template<typename T>
void sead::BoundBox3< T >::scaleY ( T sy)
inline

◆ scaleZ()

template<typename T>
void sead::BoundBox3< T >::scaleZ ( T sz)
inline

Member Data Documentation

◆ mMin

template<typename T>
Vector3 sead::BoundBox3< T >::mMin
private

◆ mMax

template<typename T>
Vector3 sead::BoundBox3< T >::mMax
private