Data type for vertex.
More...
#include <vertex.hpp>
Data type for vertex.
Definition at line 22 of file vertex.hpp.
mfem::Vertex::Vertex |
( |
double * |
xx, |
|
|
int |
dim |
|
) |
| |
mfem::Vertex::Vertex |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
mfem::Vertex::Vertex |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
double* mfem::Vertex::operator() |
( |
| ) |
const |
|
inline |
Returns pointer to the coordinates of the vertex.
Definition at line 38 of file vertex.hpp.
double& mfem::Vertex::operator() |
( |
int |
i | ) |
|
|
inline |
Returns the i'th coordinate of the vertex.
Definition at line 41 of file vertex.hpp.
const double& mfem::Vertex::operator() |
( |
int |
i | ) |
const |
|
inline |
Returns the i'th coordinate of the vertex.
Definition at line 44 of file vertex.hpp.
MFEM_DEPRECATED void mfem::Vertex::SetCoords |
( |
const double * |
p | ) |
|
|
inline |
(DEPRECATED) Set the coordinates of the Vertex.
- Deprecated:
- This old version of SetCoords is not always memory safe.
Definition at line 48 of file vertex.hpp.
void mfem::Vertex::SetCoords |
( |
int |
dim, |
|
|
const double * |
p |
|
) |
| |
|
inline |
Sets vertex location based on given point p.
Definition at line 52 of file vertex.hpp.
double mfem::Vertex::coord[3] |
|
protected |
The documentation for this class was generated from the following files: