OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::OrientedBox Struct Reference

#include <OrientedBox.hpp>

Public Types

using position_type = Vec3
 
using size_type = Vec3
 
using value_type = size_type::value_type
 

Public Member Functions

SIV3D_NODISCARD_CXX20 OrientedBox ()=default
 
SIV3D_NODISCARD_CXX20 OrientedBox (double _size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_CONCEPT_ARITHMETIC SIV3D_NODISCARD_CXX20 OrientedBox (Arithmetic _size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (double _w, double _h, double _d, Quaternion _orientation=Quaternion::Identity()) noexcept
 
template<class W , class H , class D , std::enable_if_t< std::conjunction_v< std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< D >>> * = nullptr>
SIV3D_NODISCARD_CXX20 OrientedBox (W _w, H _h, D _d, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (const Vec3 &_size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (double cx, double cy, double cz, double _size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
template<class X , class Y , class Z , class S , std::enable_if_t< std::conjunction_v< std::is_arithmetic< X >, std::is_arithmetic< Y >, std::is_arithmetic< Z >, std::is_arithmetic< S >>> * = nullptr>
SIV3D_NODISCARD_CXX20 OrientedBox (X cx, Y cy, Z cz, S _size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (double cx, double cy, double cz, double _w, double _h, double _d, Quaternion _orientation=Quaternion::Identity()) noexcept
 
template<class X , class Y , class Z , class W , class H , class D , std::enable_if_t< std::conjunction_v< std::is_arithmetic< X >, std::is_arithmetic< Y >, std::is_arithmetic< Z >, std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< D >>> * = nullptr>
 OrientedBox (X cx, Y cy, Z cz, W _w, H _h, D _d, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (double cx, double cy, double cz, const Vec3 &_size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
template<class X , class Y , class Z , std::enable_if_t< std::conjunction_v< std::is_arithmetic< X >, std::is_arithmetic< Y >, std::is_arithmetic< Z >>> * = nullptr>
SIV3D_NODISCARD_CXX20 OrientedBox (X cx, Y cy, Z cz, const Vec3 &_size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (const Vec3 &_center, double _size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_CONCEPT_ARITHMETIC SIV3D_NODISCARD_CXX20 OrientedBox (const Vec3 &_center, Arithmetic _size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (const Vec3 &_center, double _w, double _h, double _d, Quaternion _orientation=Quaternion::Identity()) noexcept
 
template<class W , class H , class D , std::enable_if_t< std::conjunction_v< std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< D >>> * = nullptr>
SIV3D_NODISCARD_CXX20 OrientedBox (const Vec3 &_center, W _w, H _h, D _d, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (const Vec3 &_center, const Vec3 &_size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (Arg::bottomCenter_< Vec3 > bottomCenter, double _size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_CONCEPT_ARITHMETIC SIV3D_NODISCARD_CXX20 OrientedBox (Arg::bottomCenter_< Vec3 > bottomCenter, Arithmetic _size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (Arg::bottomCenter_< Vec3 > bottomCenter, double _w, double _h, double _d, Quaternion _orientation=Quaternion::Identity()) noexcept
 
template<class W , class H , class D , std::enable_if_t< std::conjunction_v< std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< D >>> * = nullptr>
SIV3D_NODISCARD_CXX20 OrientedBox (Arg::bottomCenter_< Vec3 > bottomCenter, W _w, H _h, D _d, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (Arg::bottomCenter_< Vec3 > bottomCenter, const Vec3 &_size, Quaternion _orientation=Quaternion::Identity()) noexcept
 
SIV3D_NODISCARD_CXX20 OrientedBox (const Box &box, Quaternion _orientation=Quaternion::Identity()) noexcept
 
OrientedBox & setPos (value_type cx, value_type cy, value_type cz) noexcept
 
OrientedBox & setPos (position_type _center) noexcept
 
OrientedBox & setSize (value_type _w, value_type _h, value_type _d) noexcept
 
OrientedBox & setSize (size_type _size) noexcept
 
OrientedBox & setOrientation (Quaternion _orientation) noexcept
 
OrientedBox movedBy (value_type _x, value_type _y, value_type _z) const noexcept
 
OrientedBox movedBy (size_type v) const noexcept
 
OrientedBox & moveBy (value_type _x, value_type _y, value_type _z) noexcept
 
OrientedBox & moveBy (size_type v) noexcept
 
OrientedBox stretched (double xyz) const noexcept
 
OrientedBox stretched (double _x, double _y, double _z) const noexcept
 
OrientedBox stretched (Vec3 xyz) const noexcept
 
OrientedBox scaled (double s) const noexcept
 
OrientedBox scaled (double sx, double sy, double sz) const noexcept
 
OrientedBox scaled (Vec3 s) const noexcept
 
bool hasVolume () const noexcept
 
std::array< Vec3, 8 > getCorners () const noexcept
 
OrientedBox lerp (const OrientedBox &other, double f) const noexcept
 
bool intersects (const Vec3 &point) const noexcept
 
bool intersects (const Triangle3D &triangle) const noexcept
 
bool intersects (const Sphere &sphere) const noexcept
 
bool intersects (const Box &box) const noexcept
 
bool intersects (const OrientedBox &box) const noexcept
 
bool intersects (const ViewFrustum &frustum) const noexcept
 
Optional< float > intersects (const Ray &ray) const noexcept
 
bool contains (const Vec3 &point) const noexcept
 
bool contains (const Triangle3D &triangle) const noexcept
 
bool contains (const Sphere &sphere) const noexcept
 
bool contains (const Box &box) const noexcept
 
bool contains (const OrientedBox &box) const noexcept
 
bool contains (const ViewFrustum &frustum) const noexcept
 
const OrientedBox & draw (const ColorF &color=Palette::White) const
 
const OrientedBox & draw (const Texture &texture, const ColorF &color=Palette::White) const
 
const OrientedBox & draw (const TextureRegion &textureRegion, const ColorF &color=Palette::White) const
 
const OrientedBox & draw (const Quaternion &rotation, const ColorF &color=Palette::White) const
 
const OrientedBox & draw (const Quaternion &rotation, const Texture &texture, const ColorF &color=Palette::White) const
 
const OrientedBox & draw (const Quaternion &rotation, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const
 
const OrientedBox & draw (const Mat4x4 &mat, const ColorF &color=Palette::White) const
 
const OrientedBox & draw (const Mat4x4 &mat, const Texture &texture, const ColorF &color=Palette::White) const
 
const OrientedBox & draw (const Mat4x4 &mat, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const
 
const OrientedBox & draw (const PhongMaterial &material) const
 
const OrientedBox & draw (const Texture &texture, const PhongMaterial &material) const
 
const OrientedBox & draw (const TextureRegion &textureRegion, const PhongMaterial &material) const
 
const OrientedBox & draw (const Quaternion &rotation, const PhongMaterial &material) const
 
const OrientedBox & draw (const Quaternion &rotation, const Texture &texture, const PhongMaterial &material) const
 
const OrientedBox & draw (const Quaternion &rotation, const TextureRegion &textureRegion, const PhongMaterial &material) const
 
const OrientedBox & draw (const Mat4x4 &mat, const PhongMaterial &material) const
 
const OrientedBox & draw (const Mat4x4 &mat, const Texture &texture, const PhongMaterial &material) const
 
const OrientedBox & draw (const Mat4x4 &mat, const TextureRegion &textureRegion, const PhongMaterial &material) const
 
const OrientedBox & drawFrame (const ColorF &color=Palette::White) const
 

Public Attributes

union {
   position_type   center
 
   struct {
      value_type   x
 
      value_type   y
 
      value_type   z
 
   } 
 
}; 
 
union {
   position_type   size
 
   struct {
      value_type   w
 
      value_type   h
 
      value_type   d
 
   } 
 
}; 
 
Quaternion orientation
 

Friends

template<class CharType >
std::basic_ostream< CharType > & operator<< (std::basic_ostream< CharType > &output, const OrientedBox &value)
 
template<class CharType >
std::basic_istream< CharType > & operator>> (std::basic_istream< CharType > &input, OrientedBox &value)
 
void Formatter (FormatData &formatData, const OrientedBox &value)
 

Member Typedef Documentation

◆ position_type

◆ size_type

◆ value_type

Constructor & Destructor Documentation

◆ OrientedBox() [1/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( )
default

◆ OrientedBox() [2/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( double  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
explicitnoexcept

◆ OrientedBox() [3/23]

SIV3D_CONCEPT_ARITHMETIC SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( Arithmetic  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
explicitnoexcept

◆ OrientedBox() [4/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( double  _w,
double  _h,
double  _d,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [5/23]

template<class W , class H , class D , std::enable_if_t< std::conjunction_v< std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< D >>> * = nullptr>
SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( W  _w,
H  _h,
D  _d,
Quaternion  _orientation = Quaternion::Identity() 
)
explicitnoexcept

◆ OrientedBox() [6/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( const Vec3 &  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
explicitnoexcept

◆ OrientedBox() [7/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( double  cx,
double  cy,
double  cz,
double  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [8/23]

template<class X , class Y , class Z , class S , std::enable_if_t< std::conjunction_v< std::is_arithmetic< X >, std::is_arithmetic< Y >, std::is_arithmetic< Z >, std::is_arithmetic< S >>> * = nullptr>
SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( X  cx,
Y  cy,
Z  cz,
S  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [9/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( double  cx,
double  cy,
double  cz,
double  _w,
double  _h,
double  _d,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [10/23]

template<class X , class Y , class Z , class W , class H , class D , std::enable_if_t< std::conjunction_v< std::is_arithmetic< X >, std::is_arithmetic< Y >, std::is_arithmetic< Z >, std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< D >>> * = nullptr>
s3d::OrientedBox::OrientedBox ( X  cx,
Y  cy,
Z  cz,
W  _w,
H  _h,
D  _d,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [11/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( double  cx,
double  cy,
double  cz,
const Vec3 &  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [12/23]

template<class X , class Y , class Z , std::enable_if_t< std::conjunction_v< std::is_arithmetic< X >, std::is_arithmetic< Y >, std::is_arithmetic< Z >>> * = nullptr>
SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( X  cx,
Y  cy,
Z  cz,
const Vec3 &  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [13/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( const Vec3 &  _center,
double  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [14/23]

SIV3D_CONCEPT_ARITHMETIC SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( const Vec3 &  _center,
Arithmetic  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [15/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( const Vec3 &  _center,
double  _w,
double  _h,
double  _d,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [16/23]

template<class W , class H , class D , std::enable_if_t< std::conjunction_v< std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< D >>> * = nullptr>
SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( const Vec3 &  _center,
W  _w,
H  _h,
D  _d,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [17/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( const Vec3 &  _center,
const Vec3 &  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [18/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( Arg::bottomCenter_< Vec3 >  bottomCenter,
double  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [19/23]

SIV3D_CONCEPT_ARITHMETIC SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( Arg::bottomCenter_< Vec3 >  bottomCenter,
Arithmetic  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [20/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( Arg::bottomCenter_< Vec3 >  bottomCenter,
double  _w,
double  _h,
double  _d,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [21/23]

template<class W , class H , class D , std::enable_if_t< std::conjunction_v< std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< D >>> * = nullptr>
SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( Arg::bottomCenter_< Vec3 >  bottomCenter,
W  _w,
H  _h,
D  _d,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [22/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( Arg::bottomCenter_< Vec3 >  bottomCenter,
const Vec3 &  _size,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

◆ OrientedBox() [23/23]

SIV3D_NODISCARD_CXX20 s3d::OrientedBox::OrientedBox ( const Box &  box,
Quaternion  _orientation = Quaternion::Identity() 
)
noexcept

Member Function Documentation

◆ contains() [1/6]

bool s3d::OrientedBox::contains ( const Box &  box) const
noexcept

◆ contains() [2/6]

bool s3d::OrientedBox::contains ( const OrientedBox &  box) const
noexcept

◆ contains() [3/6]

bool s3d::OrientedBox::contains ( const Sphere &  sphere) const
noexcept

◆ contains() [4/6]

bool s3d::OrientedBox::contains ( const Triangle3D &  triangle) const
noexcept

◆ contains() [5/6]

bool s3d::OrientedBox::contains ( const Vec3 &  point) const
noexcept

◆ contains() [6/6]

bool s3d::OrientedBox::contains ( const ViewFrustum &  frustum) const
noexcept

◆ draw() [1/18]

const OrientedBox& s3d::OrientedBox::draw ( const ColorF &  color = Palette::White) const

◆ draw() [2/18]

const OrientedBox& s3d::OrientedBox::draw ( const Mat4x4 &  mat,
const ColorF &  color = Palette::White 
) const

◆ draw() [3/18]

const OrientedBox& s3d::OrientedBox::draw ( const Mat4x4 &  mat,
const PhongMaterial &  material 
) const

◆ draw() [4/18]

const OrientedBox& s3d::OrientedBox::draw ( const Mat4x4 &  mat,
const Texture &  texture,
const ColorF &  color = Palette::White 
) const

◆ draw() [5/18]

const OrientedBox& s3d::OrientedBox::draw ( const Mat4x4 &  mat,
const Texture &  texture,
const PhongMaterial &  material 
) const

◆ draw() [6/18]

const OrientedBox& s3d::OrientedBox::draw ( const Mat4x4 &  mat,
const TextureRegion &  textureRegion,
const ColorF &  color = Palette::White 
) const

◆ draw() [7/18]

const OrientedBox& s3d::OrientedBox::draw ( const Mat4x4 &  mat,
const TextureRegion &  textureRegion,
const PhongMaterial &  material 
) const

◆ draw() [8/18]

const OrientedBox& s3d::OrientedBox::draw ( const PhongMaterial &  material) const

◆ draw() [9/18]

const OrientedBox& s3d::OrientedBox::draw ( const Quaternion &  rotation,
const ColorF &  color = Palette::White 
) const

◆ draw() [10/18]

const OrientedBox& s3d::OrientedBox::draw ( const Quaternion &  rotation,
const PhongMaterial &  material 
) const

◆ draw() [11/18]

const OrientedBox& s3d::OrientedBox::draw ( const Quaternion &  rotation,
const Texture &  texture,
const ColorF &  color = Palette::White 
) const

◆ draw() [12/18]

const OrientedBox& s3d::OrientedBox::draw ( const Quaternion &  rotation,
const Texture &  texture,
const PhongMaterial &  material 
) const

◆ draw() [13/18]

const OrientedBox& s3d::OrientedBox::draw ( const Quaternion &  rotation,
const TextureRegion &  textureRegion,
const ColorF &  color = Palette::White 
) const

◆ draw() [14/18]

const OrientedBox& s3d::OrientedBox::draw ( const Quaternion &  rotation,
const TextureRegion &  textureRegion,
const PhongMaterial &  material 
) const

◆ draw() [15/18]

const OrientedBox& s3d::OrientedBox::draw ( const Texture &  texture,
const ColorF &  color = Palette::White 
) const

◆ draw() [16/18]

const OrientedBox& s3d::OrientedBox::draw ( const Texture &  texture,
const PhongMaterial &  material 
) const

◆ draw() [17/18]

const OrientedBox& s3d::OrientedBox::draw ( const TextureRegion &  textureRegion,
const ColorF &  color = Palette::White 
) const

◆ draw() [18/18]

const OrientedBox& s3d::OrientedBox::draw ( const TextureRegion &  textureRegion,
const PhongMaterial &  material 
) const

◆ drawFrame()

const OrientedBox& s3d::OrientedBox::drawFrame ( const ColorF &  color = Palette::White) const

◆ getCorners()

std::array<Vec3, 8> s3d::OrientedBox::getCorners ( ) const
noexcept

◆ hasVolume()

bool s3d::OrientedBox::hasVolume ( ) const
noexcept

◆ intersects() [1/7]

bool s3d::OrientedBox::intersects ( const Box &  box) const
noexcept

◆ intersects() [2/7]

bool s3d::OrientedBox::intersects ( const OrientedBox &  box) const
noexcept

◆ intersects() [3/7]

Optional<float> s3d::OrientedBox::intersects ( const Ray &  ray) const
noexcept

◆ intersects() [4/7]

bool s3d::OrientedBox::intersects ( const Sphere &  sphere) const
noexcept

◆ intersects() [5/7]

bool s3d::OrientedBox::intersects ( const Triangle3D &  triangle) const
noexcept

◆ intersects() [6/7]

bool s3d::OrientedBox::intersects ( const Vec3 &  point) const
noexcept

◆ intersects() [7/7]

bool s3d::OrientedBox::intersects ( const ViewFrustum &  frustum) const
noexcept

◆ lerp()

OrientedBox s3d::OrientedBox::lerp ( const OrientedBox &  other,
double  f 
) const
noexcept

◆ moveBy() [1/2]

OrientedBox& s3d::OrientedBox::moveBy ( size_type  v)
noexcept

◆ moveBy() [2/2]

OrientedBox& s3d::OrientedBox::moveBy ( value_type  _x,
value_type  _y,
value_type  _z 
)
noexcept

◆ movedBy() [1/2]

OrientedBox s3d::OrientedBox::movedBy ( size_type  v) const
noexcept

◆ movedBy() [2/2]

OrientedBox s3d::OrientedBox::movedBy ( value_type  _x,
value_type  _y,
value_type  _z 
) const
noexcept

◆ scaled() [1/3]

OrientedBox s3d::OrientedBox::scaled ( double  s) const
noexcept

◆ scaled() [2/3]

OrientedBox s3d::OrientedBox::scaled ( double  sx,
double  sy,
double  sz 
) const
noexcept

◆ scaled() [3/3]

OrientedBox s3d::OrientedBox::scaled ( Vec3  s) const
noexcept

◆ setOrientation()

OrientedBox& s3d::OrientedBox::setOrientation ( Quaternion  _orientation)
noexcept

◆ setPos() [1/2]

OrientedBox& s3d::OrientedBox::setPos ( position_type  _center)
noexcept

◆ setPos() [2/2]

OrientedBox& s3d::OrientedBox::setPos ( value_type  cx,
value_type  cy,
value_type  cz 
)
noexcept

◆ setSize() [1/2]

OrientedBox& s3d::OrientedBox::setSize ( size_type  _size)
noexcept

◆ setSize() [2/2]

OrientedBox& s3d::OrientedBox::setSize ( value_type  _w,
value_type  _h,
value_type  _d 
)
noexcept

◆ stretched() [1/3]

OrientedBox s3d::OrientedBox::stretched ( double  _x,
double  _y,
double  _z 
) const
noexcept

◆ stretched() [2/3]

OrientedBox s3d::OrientedBox::stretched ( double  xyz) const
noexcept

◆ stretched() [3/3]

OrientedBox s3d::OrientedBox::stretched ( Vec3  xyz) const
noexcept

Friends And Related Function Documentation

◆ Formatter

void Formatter ( FormatData &  formatData,
const OrientedBox &  value 
)
friend

◆ operator<<

template<class CharType >
std::basic_ostream<CharType>& operator<< ( std::basic_ostream< CharType > &  output,
const OrientedBox &  value 
)
friend

◆ operator>>

template<class CharType >
std::basic_istream<CharType>& operator>> ( std::basic_istream< CharType > &  input,
OrientedBox &  value 
)
friend

Member Data Documentation

◆ @46

union { ... }

◆ @48

union { ... }

◆ center

position_type s3d::OrientedBox::center

◆ d

value_type s3d::OrientedBox::d

◆ h

value_type s3d::OrientedBox::h

◆ orientation

Quaternion s3d::OrientedBox::orientation

◆ size

position_type s3d::OrientedBox::size

◆ w

value_type s3d::OrientedBox::w

◆ x

value_type s3d::OrientedBox::x

◆ y

value_type s3d::OrientedBox::y

◆ z

value_type s3d::OrientedBox::z

The documentation for this struct was generated from the following file: