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

◆ Ray() [1/3]

inline_ IceMaths::Ray::Ray ( )
inline

Constructor.

Definition at line 20 of file OPC_IceHook.h.

◆ Ray() [2/3]

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

Constructor.

Definition at line 22 of file OPC_IceHook.h.

◆ Ray() [3/3]

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

Copy constructor.

Definition at line 24 of file OPC_IceHook.h.

◆ ~Ray()

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

Destructor.

Definition at line 26 of file OPC_IceHook.h.

Member Function Documentation

◆ Distance()

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

Definition at line 29 of file OPC_IceHook.h.

◆ SquareDistance()

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

Definition at line 66 of file IceRay.cpp.

Member Data Documentation

◆ mDir

Point IceMaths::Ray::mDir

Normalized direction.

Definition at line 32 of file OPC_IceHook.h.

◆ mOrig

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 Thu Sep 8 2022 02:24:09