argos::CPlane Class Reference

#include <plane.h>

Public Member Functions

 CPlane ()
 
 CPlane (const CVector3 &c_position, const CVector3 &c_normal)
 
 CPlane (const CVector3 &c_point_1, const CVector3 &c_point_2, const CVector3 &c_point_3)
 
 ~CPlane ()
 
const CVector3GetPosition () const
 
void SetPosition (const CVector3 &c_position)
 
const CVector3GetNormal () const
 
void SetNormal (const CVector3 &c_normal)
 
void SetFromThreePoints (const CVector3 &c_point_1, const CVector3 &c_point_2, const CVector3 &c_point_3)
 
bool Intersects (Real &f_t_on_ray, const CRay3 &c_ray)
 

Detailed Description

Definition at line 19 of file plane.h.

Constructor & Destructor Documentation

◆ CPlane() [1/3]

argos::CPlane::CPlane ( )
inline

Definition at line 23 of file plane.h.

◆ CPlane() [2/3]

argos::CPlane::CPlane ( const CVector3 c_position,
const CVector3 c_normal 
)
inline

Definition at line 26 of file plane.h.

◆ CPlane() [3/3]

argos::CPlane::CPlane ( const CVector3 c_point_1,
const CVector3 c_point_2,
const CVector3 c_point_3 
)
inline

Definition at line 31 of file plane.h.

◆ ~CPlane()

argos::CPlane::~CPlane ( )
inline

Definition at line 37 of file plane.h.

Member Function Documentation

◆ GetNormal()

const CVector3& argos::CPlane::GetNormal ( ) const
inline

Definition at line 47 of file plane.h.

◆ GetPosition()

const CVector3& argos::CPlane::GetPosition ( ) const
inline

Definition at line 39 of file plane.h.

◆ Intersects()

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

Definition at line 21 of file plane.cpp.

◆ SetFromThreePoints()

void argos::CPlane::SetFromThreePoints ( const CVector3 c_point_1,
const CVector3 c_point_2,
const CVector3 c_point_3 
)

Definition at line 9 of file plane.cpp.

◆ SetNormal()

void argos::CPlane::SetNormal ( const CVector3 c_normal)
inline

Definition at line 51 of file plane.h.

◆ SetPosition()

void argos::CPlane::SetPosition ( const CVector3 c_position)
inline

Definition at line 43 of file plane.h.