|
MFEM v2.0
|
Data type for vertex. More...
#include <vertex.hpp>
Public Member Functions | |
| Vertex () | |
| Vertex (double *xx, int dim) | |
| Vertex (double x, double y) | |
| Vertex (double x, double y, double z) | |
| double * | operator() () const |
| Returns pointer to the coordinates of the vertex. | |
| double & | operator() (int i) |
| Returns the i'th coordinate of the vertex. | |
| const double & | operator() (int i) const |
| Returns the i'th coordinate of the vertex. | |
| void | SetCoords (const double *p) |
| ~Vertex () | |
Protected Attributes | |
| double | coord [3] |
Data type for vertex.
Definition at line 16 of file vertex.hpp.
| Vertex::Vertex | ( | ) | [inline] |
Definition at line 22 of file vertex.hpp.
| Vertex::Vertex | ( | double * | xx, |
| int | dim | ||
| ) |
Definition at line 15 of file vertex.cpp.
References coord.
| Vertex::Vertex | ( | double | x, |
| double | y | ||
| ) | [inline] |
Definition at line 25 of file vertex.hpp.
References coord.
| Vertex::Vertex | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) | [inline] |
Definition at line 26 of file vertex.hpp.
References coord.
| Vertex::~Vertex | ( | ) | [inline] |
Definition at line 41 of file vertex.hpp.
| double* Vertex::operator() | ( | ) | const [inline] |
Returns pointer to the coordinates of the vertex.
Definition at line 30 of file vertex.hpp.
References coord.
| double& Vertex::operator() | ( | int | i | ) | [inline] |
Returns the i'th coordinate of the vertex.
Definition at line 33 of file vertex.hpp.
References coord.
| const double& Vertex::operator() | ( | int | i | ) | const [inline] |
Returns the i'th coordinate of the vertex.
Definition at line 36 of file vertex.hpp.
References coord.
| void Vertex::SetCoords | ( | const double * | p | ) | [inline] |
Definition at line 38 of file vertex.hpp.
References coord.
double Vertex::coord[3] [protected] |
Definition at line 19 of file vertex.hpp.
Referenced by operator()(), SetCoords(), and Vertex().
1.7.4