OpenMEEG
Public Member Functions | Private Attributes | List of all members
OpenMEEG::Vertex Class Reference

Vertex. More...

#include <vertex.h>

Inheritance diagram for OpenMEEG::Vertex:
Inheritance graph
[legend]
Collaboration diagram for OpenMEEG::Vertex:
Collaboration graph
[legend]

Public Member Functions

 Vertex ()
 
 Vertex (const double &x, const double &y, const double &z)
 
 Vertex (const double &x, const double &y, const double &z, const unsigned &id)
 
 Vertex (const Vect3 &v)
 
 ~Vertex ()
 
unsigned & index ()
 
const unsigned & index () const
 
- Public Member Functions inherited from OpenMEEG::Vect3
 Vect3 ()
 
 Vect3 (const double &xx, const double &yy, const double &zz)
 
 Vect3 (const double &a)
 
 ~Vect3 ()
 
Vect3operator= (const Vect3 &v)
 
 Vect3 (const Vect3 &v)
 
double & x ()
 
const double & x () const
 
double & y ()
 
const double & y () const
 
double & z ()
 
const double & z () const
 
double operator* (const Vect3 &v) 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- ()
 
double det (const Vect3 &y2, const Vect3 &y3) const
 
double solangl (const Vect3 &v1, const Vect3 &v2, const Vect3 &v3) const
 
void normalize ()
 

Private Attributes

unsigned ind
 Index of the vertex. More...
 

Detailed Description

Vertex.

Vertex Class derived from a Vect3 Class, has an index

Definition at line 52 of file vertex.h.

Constructor & Destructor Documentation

◆ Vertex() [1/4]

OpenMEEG::Vertex::Vertex ( )
inline

Definition at line 55 of file vertex.h.

◆ Vertex() [2/4]

OpenMEEG::Vertex::Vertex ( const double &  x,
const double &  y,
const double &  z 
)
inline

Definition at line 57 of file vertex.h.

◆ Vertex() [3/4]

OpenMEEG::Vertex::Vertex ( const double &  x,
const double &  y,
const double &  z,
const unsigned &  id 
)
inline

Definition at line 59 of file vertex.h.

◆ Vertex() [4/4]

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

Definition at line 61 of file vertex.h.

◆ ~Vertex()

OpenMEEG::Vertex::~Vertex ( )
inline

Definition at line 63 of file vertex.h.

Member Function Documentation

◆ index() [1/2]

unsigned& OpenMEEG::Vertex::index ( )
inline

Definition at line 65 of file vertex.h.

◆ index() [2/2]

const unsigned& OpenMEEG::Vertex::index ( ) const
inline

Definition at line 66 of file vertex.h.

Member Data Documentation

◆ ind

unsigned OpenMEEG::Vertex::ind
private

Index of the vertex.

Definition at line 70 of file vertex.h.


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