Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
Vclip::Vect3 Class Reference

#include <mv.h>

Public Member Functions

void add (const Vect3 &u, const Vect3 &v)
 
void add (const Vect3 &v)
 
void cross (const Vect3 &u, const Vect3 &v)
 
void crossAdd (const Vect3 &u, const Vect3 &v, const Vect3 &w)
 
void crossAdd (const Vect3 &u, const Vect3 &v)
 
void displace (const Vect3 &v, const Vect3 &u, Real lambda)
 
void displace (const Vect3 &u, Real lambda)
 
Real distance (const Vect3 &other) const
 
Real distance2 (const Vect3 &other) const
 
Real dot (const Vect3 &other) const
 
void interpolate (const Vect3 &u, const Vect3 &v, Real lambda)
 
Real max () const
 
Real maxAbs () const
 
Real min () const
 
Real minAbs () const
 
void mult (const Vect3 &u, const Vect3 &v)
 
void mult (const Vect3 &v)
 
void negate (const Vect3 &v)
 
void negate ()
 
Real norm () const
 
Real norm2 () const
 
void normalize (const Vect3 &v)
 
void normalize ()
 
int operator== (const Vect3 &other) const
 
const Realoperator[] (int i) const
 
Realoperator[] (int i)
 
void postcross (const Vect3 &v)
 
void precross (const Vect3 &v)
 
ostream & print (ostream &os) const
 
istream & read (istream &is)
 
void scale (const Vect3 &v, Real s)
 
void scale (Real s)
 
void set (Real x_, Real y_, Real z_)
 
void sub (const Vect3 &u, const Vect3 &v)
 
void sub (const Vect3 &v)
 
void swap (Vect3 &other)
 
 Vect3 ()
 
 Vect3 (Real x_, Real y_, Real z_)
 

Static Public Member Functions

static Real distance (const Vect3 &u, const Vect3 &v)
 
static Real distance2 (const Vect3 &u, const Vect3 &v)
 
static Real dot (const Vect3 &u, const Vect3 &v)
 
static void swap (Vect3 &u, Vect3 &v)
 

Public Attributes

Real x
 
Real y
 
Real z
 

Static Public Attributes

static const Vect3 I
 
static const Vect3 I_
 
static const Vect3 J
 
static const Vect3 J_
 
static const Vect3 K
 
static const Vect3 K_
 
static const Vect3 ZERO
 

Friends

class Mat3
 
class MatX
 
class Quat
 
class Se3
 

Detailed Description

Definition at line 181 of file mv.h.

Constructor & Destructor Documentation

◆ Vect3() [1/2]

Vclip::Vect3::Vect3 ( )
inline

Definition at line 194 of file mv.h.

◆ Vect3() [2/2]

Vclip::Vect3::Vect3 ( Real  x_,
Real  y_,
Real  z_ 
)
inline

Definition at line 195 of file mv.h.

Member Function Documentation

◆ add() [1/2]

void Vclip::Vect3::add ( const Vect3 u,
const Vect3 v 
)
inline

Definition at line 855 of file mv.h.

◆ add() [2/2]

void Vclip::Vect3::add ( const Vect3 v)
inline

Definition at line 863 of file mv.h.

◆ cross()

void Vclip::Vect3::cross ( const Vect3 u,
const Vect3 v 
)
inline

Definition at line 920 of file mv.h.

◆ crossAdd() [1/2]

void Vclip::Vect3::crossAdd ( const Vect3 u,
const Vect3 v,
const Vect3 w 
)
inline

Definition at line 952 of file mv.h.

◆ crossAdd() [2/2]

void Vclip::Vect3::crossAdd ( const Vect3 u,
const Vect3 v 
)
inline

Definition at line 960 of file mv.h.

◆ displace() [1/2]

void Vclip::Vect3::displace ( const Vect3 v,
const Vect3 u,
Real  lambda 
)
inline

Definition at line 968 of file mv.h.

◆ displace() [2/2]

void Vclip::Vect3::displace ( const Vect3 u,
Real  lambda 
)
inline

Definition at line 976 of file mv.h.

◆ distance() [1/2]

Real Vclip::Vect3::distance ( const Vect3 other) const
inline

Definition at line 755 of file mv.h.

◆ distance() [2/2]

static Real Vclip::Vect3::distance ( const Vect3 u,
const Vect3 v 
)
inlinestatic

Definition at line 239 of file mv.h.

◆ distance2() [1/2]

Real Vclip::Vect3::distance2 ( const Vect3 other) const
inline

Definition at line 764 of file mv.h.

◆ distance2() [2/2]

static Real Vclip::Vect3::distance2 ( const Vect3 u,
const Vect3 v 
)
inlinestatic

Definition at line 240 of file mv.h.

◆ dot() [1/2]

Real Vclip::Vect3::dot ( const Vect3 other) const
inline

Definition at line 737 of file mv.h.

◆ dot() [2/2]

static Real Vclip::Vect3::dot ( const Vect3 u,
const Vect3 v 
)
inlinestatic

Definition at line 238 of file mv.h.

◆ interpolate()

void Vclip::Vect3::interpolate ( const Vect3 u,
const Vect3 v,
Real  lambda 
)
inline

Definition at line 984 of file mv.h.

◆ max()

Real Vclip::Vect3::max ( ) const
inline

Definition at line 779 of file mv.h.

◆ maxAbs()

Real Vclip::Vect3::maxAbs ( ) const
inline

Definition at line 796 of file mv.h.

◆ min()

Real Vclip::Vect3::min ( ) const
inline

Definition at line 773 of file mv.h.

◆ minAbs()

Real Vclip::Vect3::minAbs ( ) const
inline

Definition at line 785 of file mv.h.

◆ mult() [1/2]

void Vclip::Vect3::mult ( const Vect3 u,
const Vect3 v 
)
inline

Definition at line 887 of file mv.h.

◆ mult() [2/2]

void Vclip::Vect3::mult ( const Vect3 v)
inline

Definition at line 895 of file mv.h.

◆ negate() [1/2]

void Vclip::Vect3::negate ( const Vect3 v)
inline

Definition at line 839 of file mv.h.

◆ negate() [2/2]

void Vclip::Vect3::negate ( )
inline

Definition at line 847 of file mv.h.

◆ norm()

Real Vclip::Vect3::norm ( ) const
inline

Definition at line 743 of file mv.h.

◆ norm2()

Real Vclip::Vect3::norm2 ( ) const
inline

Definition at line 749 of file mv.h.

◆ normalize() [1/2]

void Vclip::Vect3::normalize ( const Vect3 v)
inline

Definition at line 817 of file mv.h.

◆ normalize() [2/2]

void Vclip::Vect3::normalize ( )
inline

Definition at line 828 of file mv.h.

◆ operator==()

int Vclip::Vect3::operator== ( const Vect3 other) const
inline

Definition at line 731 of file mv.h.

◆ operator[]() [1/2]

const Real& Vclip::Vect3::operator[] ( int  i) const
inline

Definition at line 204 of file mv.h.

◆ operator[]() [2/2]

Real& Vclip::Vect3::operator[] ( int  i)
inline

Definition at line 205 of file mv.h.

◆ postcross()

void Vclip::Vect3::postcross ( const Vect3 v)
inline

Definition at line 940 of file mv.h.

◆ precross()

void Vclip::Vect3::precross ( const Vect3 v)
inline

Definition at line 928 of file mv.h.

◆ print()

ostream& Vclip::Vect3::print ( ostream &  os) const

◆ read()

istream& Vclip::Vect3::read ( istream &  is)

◆ scale() [1/2]

void Vclip::Vect3::scale ( const Vect3 v,
Real  s 
)
inline

Definition at line 903 of file mv.h.

◆ scale() [2/2]

void Vclip::Vect3::scale ( Real  s)
inline

Definition at line 911 of file mv.h.

◆ set()

void Vclip::Vect3::set ( Real  x_,
Real  y_,
Real  z_ 
)
inline

Definition at line 199 of file mv.h.

◆ sub() [1/2]

void Vclip::Vect3::sub ( const Vect3 u,
const Vect3 v 
)
inline

Definition at line 871 of file mv.h.

◆ sub() [2/2]

void Vclip::Vect3::sub ( const Vect3 v)
inline

Definition at line 879 of file mv.h.

◆ swap() [1/2]

void Vclip::Vect3::swap ( Vect3 other)
inline

Definition at line 807 of file mv.h.

◆ swap() [2/2]

static void Vclip::Vect3::swap ( Vect3 u,
Vect3 v 
)
inlinestatic

Definition at line 241 of file mv.h.

Friends And Related Function Documentation

◆ Mat3

friend class Mat3
friend

Definition at line 183 of file mv.h.

◆ MatX

friend class MatX
friend

Definition at line 184 of file mv.h.

◆ Quat

friend class Quat
friend

Definition at line 185 of file mv.h.

◆ Se3

friend class Se3
friend

Definition at line 186 of file mv.h.

Member Data Documentation

◆ I

const Vect3 Vclip::Vect3::I
static

Definition at line 280 of file mv.h.

◆ I_

const Vect3 Vclip::Vect3::I_
static

Definition at line 283 of file mv.h.

◆ J

const Vect3 Vclip::Vect3::J
static

Definition at line 281 of file mv.h.

◆ J_

const Vect3 Vclip::Vect3::J_
static

Definition at line 284 of file mv.h.

◆ K

const Vect3 Vclip::Vect3::K
static

Definition at line 282 of file mv.h.

◆ K_

const Vect3 Vclip::Vect3::K_
static

Definition at line 285 of file mv.h.

◆ x

Real Vclip::Vect3::x

Definition at line 190 of file mv.h.

◆ y

Real Vclip::Vect3::y

Definition at line 190 of file mv.h.

◆ z

Real Vclip::Vect3::z

Definition at line 190 of file mv.h.

◆ ZERO

const Vect3 Vclip::Vect3::ZERO
static

Definition at line 279 of file mv.h.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Sat Dec 17 2022 03:52:22