Data type for vertex.
More...
#include <vertex.hpp>
Data type for vertex.
Definition at line 22 of file vertex.hpp.
◆ Vertex() [1/4]
◆ Vertex() [2/4]
mfem::Vertex::Vertex |
( |
double * |
xx, |
|
|
int |
dim |
|
) |
| |
◆ Vertex() [3/4]
mfem::Vertex::Vertex |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
◆ Vertex() [4/4]
mfem::Vertex::Vertex |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
◆ operator()() [1/3]
double* mfem::Vertex::operator() |
( |
| ) |
const |
|
inline |
Returns pointer to the coordinates of the vertex.
Definition at line 38 of file vertex.hpp.
◆ operator()() [2/3]
double& mfem::Vertex::operator() |
( |
int |
i | ) |
|
|
inline |
Returns the i'th coordinate of the vertex.
Definition at line 41 of file vertex.hpp.
◆ operator()() [3/3]
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.
◆ SetCoords() [1/2]
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.
◆ SetCoords() [2/2]
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.
◆ coord
double mfem::Vertex::coord[3] |
|
protected |
The documentation for this class was generated from the following files: