argos::CBox Class Reference

#include <box.h>

Public Member Functions

 CBox (const CVector3 &c_size, const CVector3 &c_base_pos=CVector3(), const CQuaternion &c_orient=CQuaternion())
 
const CVector3GetSize () const
 
void SetSize (const CVector3 &c_size)
 
const CVector3GetBasePosition () const
 
void SetBasePosition (const CVector3 &c_base_pos)
 
const CQuaternionGetOrientation () const
 
void SetOrientation (const CQuaternion &c_orient)
 
bool Intersects (Real &f_t_on_ray, const CRay3 &c_ray)
 

Detailed Description

Definition at line 20 of file box.h.

Constructor & Destructor Documentation

◆ CBox()

argos::CBox::CBox ( const CVector3 c_size,
const CVector3 c_base_pos = CVector3(),
const CQuaternion c_orient = CQuaternion() 
)
inline

Definition at line 24 of file box.h.

Member Function Documentation

◆ GetBasePosition()

const CVector3& argos::CBox::GetBasePosition ( ) const
inline

Definition at line 43 of file box.h.

◆ GetOrientation()

const CQuaternion& argos::CBox::GetOrientation ( ) const
inline

Definition at line 51 of file box.h.

◆ GetSize()

const CVector3& argos::CBox::GetSize ( ) const
inline

Definition at line 32 of file box.h.

◆ Intersects()

bool argos::CBox::Intersects ( Real f_t_on_ray,
const CRay3 c_ray 
)

Definition at line 9 of file box.cpp.

◆ SetBasePosition()

void argos::CBox::SetBasePosition ( const CVector3 c_base_pos)
inline

Definition at line 47 of file box.h.

◆ SetOrientation()

void argos::CBox::SetOrientation ( const CQuaternion c_orient)
inline

Definition at line 55 of file box.h.

◆ SetSize()

void argos::CBox::SetSize ( const CVector3 c_size)
inline

Definition at line 36 of file box.h.