Public Member Functions | Protected Attributes | Friends | List of all members
fLineVec Class Reference

#include <fLineVec.h>

Public Member Functions

fVec3Dir ()
 
const fVec3Dir () const
 
void Dir (fVec3 &v)
 
double distance (const fVec3 &point, fVec3 &pos, double *k=0)
 
 fLineVec ()
 
 fLineVec (const fLineVec &v)
 
 fLineVec (const fVec3 &v1, const fVec3 &v2)
 
 fLineVec (double v1, double v2, double v3, double v4, double v5, double v6)
 
fLineVec operator= (const fLineVec &vec)
 
void operator= (double d)
 
fVec3Org ()
 
const fVec3Org () const
 
void Org (fVec3 &v)
 
double * pDir ()
 
double * pOrg ()
 
fVec3 position (double t) const
 
void position (double t, fVec3 &p) const
 
void set (const fLineVec &vec)
 
void set (const fVec3 &_org, const fVec3 &_dir)
 
 ~fLineVec ()
 

Protected Attributes

double temp
 
fVec3 v_dir
 
fVec3 v_org
 

Friends

fVec3Dir (fLineVec &v)
 
int intersection (const fLineVec &lv1, const fLineVec &lv2, fVec3 &c1, fVec3 &c2, double &d, double eps)
 
ostream & operator<< (ostream &ost, fLineVec &v)
 
fVec3Org (fLineVec &v)
 

Detailed Description

Definition at line 23 of file fLineVec.h.

Constructor & Destructor Documentation

◆ fLineVec() [1/4]

fLineVec::fLineVec ( )
inline

Definition at line 26 of file fLineVec.h.

◆ fLineVec() [2/4]

fLineVec::fLineVec ( const fLineVec v)
inline

Definition at line 31 of file fLineVec.h.

◆ fLineVec() [3/4]

fLineVec::fLineVec ( const fVec3 v1,
const fVec3 v2 
)
inline

Definition at line 36 of file fLineVec.h.

◆ fLineVec() [4/4]

fLineVec::fLineVec ( double  v1,
double  v2,
double  v3,
double  v4,
double  v5,
double  v6 
)
inline

Definition at line 41 of file fLineVec.h.

◆ ~fLineVec()

fLineVec::~fLineVec ( )
inline

Definition at line 49 of file fLineVec.h.

Member Function Documentation

◆ Dir() [1/3]

fVec3& fLineVec::Dir ( )
inline

Definition at line 71 of file fLineVec.h.

◆ Dir() [2/3]

const fVec3& fLineVec::Dir ( ) const
inline

Definition at line 77 of file fLineVec.h.

◆ Dir() [3/3]

void fLineVec::Dir ( fVec3 v)
inline

Definition at line 84 of file fLineVec.h.

◆ distance()

double fLineVec::distance ( const fVec3 point,
fVec3 pos,
double *  k = 0 
)

Definition at line 73 of file fLineVec.cpp.

◆ operator=() [1/2]

fLineVec fLineVec::operator= ( const fLineVec vec)
inline

Definition at line 52 of file fLineVec.h.

◆ operator=() [2/2]

void fLineVec::operator= ( double  d)
inline

Definition at line 57 of file fLineVec.h.

◆ Org() [1/3]

fVec3& fLineVec::Org ( )
inline

Definition at line 68 of file fLineVec.h.

◆ Org() [2/3]

const fVec3& fLineVec::Org ( ) const
inline

Definition at line 74 of file fLineVec.h.

◆ Org() [3/3]

void fLineVec::Org ( fVec3 v)
inline

Definition at line 81 of file fLineVec.h.

◆ pDir()

double* fLineVec::pDir ( )
inline

Definition at line 102 of file fLineVec.h.

◆ pOrg()

double* fLineVec::pOrg ( )
inline

Definition at line 99 of file fLineVec.h.

◆ position() [1/2]

fVec3 fLineVec::position ( double  t) const

Definition at line 22 of file fLineVec.cpp.

◆ position() [2/2]

void fLineVec::position ( double  t,
fVec3 p 
) const

Definition at line 30 of file fLineVec.cpp.

◆ set() [1/2]

void fLineVec::set ( const fLineVec vec)
inline

Definition at line 88 of file fLineVec.h.

◆ set() [2/2]

void fLineVec::set ( const fVec3 _org,
const fVec3 _dir 
)
inline

Definition at line 92 of file fLineVec.h.

Friends And Related Function Documentation

◆ Dir

fVec3& Dir ( fLineVec v)
friend

Definition at line 65 of file fLineVec.h.

◆ intersection

int intersection ( const fLineVec lv1,
const fLineVec lv2,
fVec3 c1,
fVec3 c2,
double &  d,
double  eps 
)
friend

Definition at line 36 of file fLineVec.cpp.

◆ operator<<

ostream& operator<< ( ostream &  ost,
fLineVec v 
)
friend

Definition at line 16 of file fLineVec.cpp.

◆ Org

fVec3& Org ( fLineVec v)
friend

Definition at line 62 of file fLineVec.h.

Member Data Documentation

◆ temp

double fLineVec::temp
protected

Definition at line 128 of file fLineVec.h.

◆ v_dir

fVec3 fLineVec::v_dir
protected

Definition at line 127 of file fLineVec.h.

◆ v_org

fVec3 fLineVec::v_org
protected

Definition at line 126 of file fLineVec.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 Wed Sep 7 2022 02:51:05