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

#include <OPC_IceHook.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

Definition at line 16 of file OPC_IceHook.h.

Constructor & Destructor Documentation

inline_ IceMaths::Ray::Ray ( )
inline

Constructor.

Definition at line 20 of file OPC_IceHook.h.

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

Constructor.

Definition at line 22 of file OPC_IceHook.h.

inline_ IceMaths::Ray::Ray ( const Ray ray)
inline

Copy constructor.

Definition at line 24 of file OPC_IceHook.h.

inline_ IceMaths::Ray::~Ray ( )
inline

Destructor.

Definition at line 26 of file OPC_IceHook.h.

Member Function Documentation

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

Definition at line 29 of file OPC_IceHook.h.

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

Definition at line 66 of file IceRay.cpp.

Member Data Documentation

Point IceMaths::Ray::mDir

Normalized direction.

Definition at line 32 of file OPC_IceHook.h.

Point IceMaths::Ray::mOrig

Ray origin.

Definition at line 31 of file OPC_IceHook.h.


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


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:32