OpenMEEG
Loading...
Searching...
No Matches
OpenMEEG::Vertex Class Reference

Vertex. More...

#include <vertex.h>

Inheritance diagram for OpenMEEG::Vertex:
Collaboration diagram for OpenMEEG::Vertex:

Public Member Functions

 Vertex ()
 Vertex (const Vect3 &V, const unsigned id=-1)
 Vertex (const double V[3], const unsigned id=-1)
 Vertex (const double &x, const double &y, const double &z, const unsigned id=-1)
unsigned & index ()
const unsigned & index () const
Public Member Functions inherited from OpenMEEG::Vect3
 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 ()

Detailed Description

Vertex.

Vertex Class derived from a Vect3 Class, has an index

Definition at line 20 of file vertex.h.

Constructor & Destructor Documentation

◆ Vertex() [1/4]

OpenMEEG::Vertex::Vertex ( )
inline

Definition at line 23 of file vertex.h.

◆ Vertex() [2/4]

OpenMEEG::Vertex::Vertex ( const Vect3 & V,
const unsigned id = -1 )
inline

Definition at line 25 of file vertex.h.

◆ Vertex() [3/4]

OpenMEEG::Vertex::Vertex ( const double V[3],
const unsigned id = -1 )
inline

Definition at line 26 of file vertex.h.

◆ Vertex() [4/4]

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

Definition at line 27 of file vertex.h.

Member Function Documentation

◆ index() [1/2]

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

Definition at line 29 of file vertex.h.

◆ index() [2/2]

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

Definition at line 30 of file vertex.h.


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