Interface between two cells.
More...
#include <Edge.hpp>
Interface between two cells.
Definition at line 13 of file Edge.hpp.
◆ Edge() [1/2]
Edge::Edge |
( |
Vector2D const & |
p1, |
|
|
Vector2D const & |
p2, |
|
|
int |
neighbor1, |
|
|
int |
neighbor2 |
|
) |
| |
Class constructor.
- Parameters
-
p1 | Position of first vertex |
p2 | Position of second vertex |
neighbor1 | Index of first neighbor cell |
neighbor2 | Index of second neighbor cell |
Definition at line 22 of file Edge.cpp.
◆ Edge() [2/2]
Edge::Edge |
( |
Edge const & |
other | ) |
|
Copy constructor.
- Parameters
-
Definition at line 11 of file Edge.cpp.
◆ GetLength()
double Edge::GetLength |
( |
void |
| ) |
const |
Returns the length of the edge.
- Returns
- Length
Definition at line 26 of file Edge.cpp.
◆ operator=()
Edge & Edge::operator= |
( |
const Edge & |
other | ) |
|
copy operator
- Parameters
-
other | Source from which to copy data |
- Returns
- Reference to self
Definition at line 15 of file Edge.cpp.
The documentation for this class was generated from the following files: