OpenMEEG
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
OpenMEEG::Vect3 Class Reference

Vect3. More...

#include <vect3.h>

Inheritance diagram for OpenMEEG::Vect3:
Inheritance graph
[legend]

Public Member Functions

 Vect3 (const double x1, const double x2, const double x3)
 
 Vect3 (const double a=0.0)
 
 Vect3 (const Vect3 &v)
 
 operator const double * () const
 
Vect3operator= (const double v)
 
Vect3operator= (const Vect3 &v)
 
double & x ()
 
double x () const
 
double & y ()
 
double y () const
 
double & z ()
 
double z () const
 
double operator< (const Vect3 &v) const
 
double norm () const
 
double norm2 () const
 
bool operator== (const Vect3 &v) const
 
bool operator!= (const Vect3 &v) const
 
void operator+= (const Vect3 &v)
 
void operator-= (const Vect3 &v)
 
void operator*= (const double d)
 
void operator/= (const double d)
 
void multadd (const double d, const Vect3 &v)
 
Vect3 operator+ (const Vect3 &v) const
 
Vect3 operator- (const Vect3 &v) const
 
Vect3 operator^ (const Vect3 &v) const
 
Vect3 operator* (const double d) const
 
Vect3 operator/ (const double d) const
 
double operator() (const int i) const
 
double & operator() (const int i)
 
Vect3 operator- () const
 
double solid_angle (const Vect3 &v1, const Vect3 &v2, const Vect3 &v3) const
 
Vect3normalize ()
 

Friends

std::ostream & operator<< (std::ostream &os, const Vect3 &v)
 
std::istream & operator>> (std::istream &is, Vect3 &v)
 

Detailed Description

Vect3.

Definition at line 28 of file vect3.h.

Constructor & Destructor Documentation

◆ Vect3() [1/3]

OpenMEEG::Vect3::Vect3 ( const double  x1,
const double  x2,
const double  x3 
)
inline

Definition at line 34 of file vect3.h.

◆ Vect3() [2/3]

OpenMEEG::Vect3::Vect3 ( const double  a = 0.0)
inline

Definition at line 35 of file vect3.h.

◆ Vect3() [3/3]

OpenMEEG::Vect3::Vect3 ( const Vect3 v)
inline

Definition at line 37 of file vect3.h.

Member Function Documentation

◆ operator const double *()

OpenMEEG::Vect3::operator const double * ( ) const
inline

Definition at line 39 of file vect3.h.

◆ operator=() [1/2]

Vect3 & OpenMEEG::Vect3::operator= ( const double  v)
inline

Definition at line 41 of file vect3.h.

◆ operator=() [2/2]

Vect3 & OpenMEEG::Vect3::operator= ( const Vect3 v)
inline

Definition at line 47 of file vect3.h.

◆ x() [1/2]

double & OpenMEEG::Vect3::x ( )
inline

Definition at line 52 of file vect3.h.

◆ x() [2/2]

double OpenMEEG::Vect3::x ( ) const
inline

Definition at line 53 of file vect3.h.

◆ y() [1/2]

double & OpenMEEG::Vect3::y ( )
inline

Definition at line 55 of file vect3.h.

◆ y() [2/2]

double OpenMEEG::Vect3::y ( ) const
inline

Definition at line 56 of file vect3.h.

◆ z() [1/2]

double & OpenMEEG::Vect3::z ( )
inline

Definition at line 58 of file vect3.h.

◆ z() [2/2]

double OpenMEEG::Vect3::z ( ) const
inline

Definition at line 59 of file vect3.h.

◆ operator<()

double OpenMEEG::Vect3::operator< ( const Vect3 v) const
inline

Definition at line 61 of file vect3.h.

◆ norm()

double OpenMEEG::Vect3::norm ( ) const
inline

Definition at line 63 of file vect3.h.

◆ norm2()

double OpenMEEG::Vect3::norm2 ( ) const
inline

Definition at line 64 of file vect3.h.

◆ operator==()

bool OpenMEEG::Vect3::operator== ( const Vect3 v) const
inline

Definition at line 66 of file vect3.h.

◆ operator!=()

bool OpenMEEG::Vect3::operator!= ( const Vect3 v) const
inline

Definition at line 67 of file vect3.h.

◆ operator+=()

void OpenMEEG::Vect3::operator+= ( const Vect3 v)
inline

Definition at line 69 of file vect3.h.

◆ operator-=()

void OpenMEEG::Vect3::operator-= ( const Vect3 v)
inline

Definition at line 70 of file vect3.h.

◆ operator*=()

void OpenMEEG::Vect3::operator*= ( const double  d)
inline

Definition at line 71 of file vect3.h.

◆ operator/=()

void OpenMEEG::Vect3::operator/= ( const double  d)
inline

Definition at line 72 of file vect3.h.

◆ multadd()

void OpenMEEG::Vect3::multadd ( const double  d,
const Vect3 v 
)
inline

Definition at line 74 of file vect3.h.

◆ operator+()

Vect3 OpenMEEG::Vect3::operator+ ( const Vect3 v) const
inline

Definition at line 76 of file vect3.h.

◆ operator-() [1/2]

Vect3 OpenMEEG::Vect3::operator- ( const Vect3 v) const
inline

Definition at line 77 of file vect3.h.

◆ operator^()

Vect3 OpenMEEG::Vect3::operator^ ( const Vect3 v) const
inline

Definition at line 78 of file vect3.h.

◆ operator*()

Vect3 OpenMEEG::Vect3::operator* ( const double  d) const
inline

Definition at line 79 of file vect3.h.

◆ operator/()

Vect3 OpenMEEG::Vect3::operator/ ( const double  d) const
inline

Definition at line 80 of file vect3.h.

◆ operator()() [1/2]

double OpenMEEG::Vect3::operator() ( const int  i) const
inline

Definition at line 82 of file vect3.h.

◆ operator()() [2/2]

double & OpenMEEG::Vect3::operator() ( const int  i)
inline

Definition at line 87 of file vect3.h.

◆ operator-() [2/2]

Vect3 OpenMEEG::Vect3::operator- ( ) const
inline

Definition at line 92 of file vect3.h.

◆ solid_angle()

double OpenMEEG::Vect3::solid_angle ( const Vect3 v1,
const Vect3 v2,
const Vect3 v3 
) const
inline

Definition at line 110 of file vect3.h.

◆ normalize()

Vect3 & OpenMEEG::Vect3::normalize ( )
inline

Definition at line 96 of file vect3.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const Vect3 v 
)
friend

Definition at line 127 of file vect3.h.

◆ operator>>

std::istream & operator>> ( std::istream &  is,
Vect3 v 
)
friend

Definition at line 123 of file vect3.h.


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