argos::CCylinder Class Reference

#include <cylinder.h>

Public Member Functions

 CCylinder (Real f_radius, Real f_height, const CVector3 &c_base_pos=CVector3(), const CVector3 &c_axis=CVector3::Z)
 
Real GetRadius () const
 
void SetRadius (Real f_radius)
 
Real GetHeight () const
 
void SetHeight (Real f_height)
 
const CVector3GetBasePosition () const
 
void SetBasePosition (const CVector3 &c_base_pos)
 
const CVector3GetAxis () const
 
void SetAxis (const CVector3 &c_axis)
 
bool Intersects (Real &f_t_on_ray, const CRay3 &c_ray)
 

Detailed Description

Definition at line 19 of file cylinder.h.

Constructor & Destructor Documentation

argos::CCylinder::CCylinder ( Real  f_radius,
Real  f_height,
const CVector3 c_base_pos = CVector3(),
const CVector3 c_axis = CVector3::Z 
)
inline

Definition at line 23 of file cylinder.h.

Member Function Documentation

const CVector3& argos::CCylinder::GetAxis ( ) const
inline

Definition at line 57 of file cylinder.h.

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

Definition at line 49 of file cylinder.h.

Real argos::CCylinder::GetHeight ( ) const
inline

Definition at line 41 of file cylinder.h.

Real argos::CCylinder::GetRadius ( ) const
inline

Definition at line 33 of file cylinder.h.

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

Definition at line 9 of file cylinder.cpp.

void argos::CCylinder::SetAxis ( const CVector3 c_axis)
inline

Definition at line 61 of file cylinder.h.

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

Definition at line 53 of file cylinder.h.

void argos::CCylinder::SetHeight ( Real  f_height)
inline

Definition at line 45 of file cylinder.h.

void argos::CCylinder::SetRadius ( Real  f_radius)
inline

Definition at line 37 of file cylinder.h.