Public Member Functions | Public Attributes | List of all members
Ray Class Reference

#include <IceRay.h>

Public Member Functions

inline_ float Distance (const Point &point, float *t=null) const
 
inline_ Ray ()
 Constructor. More...
 
inline_ Ray (const Point &orig, const Point &dir)
 Constructor. More...
 
inline_ Ray (const Ray &ray)
 Copy constructor. More...
 
float SquareDistance (const Point &point, float *t=null) const
 
inline_ ~Ray ()
 Destructor. More...
 

Public Attributes

Point mDir
 Normalized direction. More...
 
Point mOrig
 Ray origin. More...
 

Detailed Description

Ray class. A ray is a half-line P(t) = mOrig + mDir * t, with 0 <= t <= +infinity

Author
Pierre Terdiman
Version
1.0

Definition at line 15 of file IceRay.h.

Constructor & Destructor Documentation

inline_ Ray::Ray ( )
inline

Constructor.

Definition at line 19 of file IceRay.h.

inline_ Ray::Ray ( const Point orig,
const Point dir 
)
inline

Constructor.

Definition at line 21 of file IceRay.h.

inline_ Ray::Ray ( const Ray ray)
inline

Copy constructor.

Definition at line 23 of file IceRay.h.

inline_ Ray::~Ray ( )
inline

Destructor.

Definition at line 25 of file IceRay.h.

Member Function Documentation

inline_ float Ray::Distance ( const Point point,
float *  t = null 
) const
inline

Definition at line 28 of file IceRay.h.

float Ray::SquareDistance ( const Point point,
float *  t = null 
) const

Member Data Documentation

Point Ray::mDir

Normalized direction.

Definition at line 31 of file IceRay.h.

Point Ray::mOrig

Ray origin.

Definition at line 30 of file IceRay.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:29