Public Member Functions | Public Attributes
Ray Class Reference

#include <IceRay.h>

List of all members.

Public Member Functions

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

Public Attributes

Point mDir
 Normalized direction.
Point mOrig
 Ray origin.

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

Normalized direction.

Definition at line 31 of file IceRay.h.

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 Thu Apr 11 2019 03:30:21