Class for an edge object in a mesh.
More...
#include <mesh.hpp>
|
void | ChangeIndices (int nVert, int nEdge, int nSurf, int nVolu) |
|
void | disp () const |
|
void | disptree (const mesh &meshin, int n) const |
|
double | value (const mesh &meshin) const |
|
void | PrepareForUse () |
|
bool | isready (bool isInMesh) const |
|
void | read (FILE *fid) |
|
void | write (FILE *fid) const |
|
void | TightenConnectivity () |
|
void | GeometricProperties (const mesh *meshin, coordvec ¢re, double &length) const |
| Math operations in mesh.
|
|
double | Length (const mesh &meshin) const |
| Calculate the edge length. More...
|
|
double | SetLength (const mesh &meshin) |
|
double | GetLength (bool warn=true) const |
|
void | InvalidateLength () |
|
double | LengthSquared (const mesh &meshin) const |
| Calculate squared edge length. More...
|
|
bool | IsLength0 (const mesh &meshin, double eps=__DBL_EPSILON__) const |
| Returns. More...
|
|
bool | vertconneq (const edge &other) const |
|
| edge (const edge &oldEdge) |
|
edge & | operator= (const edge &other)=default |
|
void | operator= (const edge *other) |
|
int | Key () const |
|
bool | returnIsModif () const |
|
|
friend | edgearray |
|
std::vector< int > | vertind |
|
std::vector< int > | surfind |
|
int | index = 0 |
|
bool | isBorder = false |
|
|
double | length = rsvs3d::constants::__unsetlength |
|
bool | isModif = true |
|
Class for an edge object in a mesh.
Definition at line 352 of file mesh.hpp.
◆ IsLength0()
bool edge::IsLength0 |
( |
const mesh & |
meshin, |
|
|
double |
eps = __DBL_EPSILON__ |
|
) |
| const |
Returns.
- Parameters
-
[in] | meshin | the mesh in which the edge existes |
[in] | eps | Tolerance, number under which the length must be to be considered 0. Defaults to DBL_EPSILON. |
- Returns
- Wether Length squared is below eps squared.
Definition at line 1514 of file mesh.cpp.
◆ Length()
double edge::Length |
( |
const mesh & |
meshin | ) |
const |
Calculate the edge length.
- Parameters
-
[in] | meshin | the mesh in which the edge existes |
- Returns
- the length of the edge
Definition at line 1496 of file mesh.cpp.
◆ LengthSquared()
double edge::LengthSquared |
( |
const mesh & |
meshin | ) |
const |
Calculate squared edge length.
- Parameters
-
[in] | meshin | the mesh in which the edge existes |
- Returns
- the squared length of the edge
Definition at line 1477 of file mesh.cpp.
The documentation for this class was generated from the following files: