![]() |
#include <Edge.h>
Collaboration diagram for dolfin::Edge:

Public Member Functions | |
| Edge () | |
| Create empty edge. | |
| Edge (Node &n0, Node &n1) | |
| Create edge between two given nodes. | |
| ~Edge () | |
| Destructor. | |
| void | clear () |
| Clear edge data. | |
| int | id () const |
| Return id of edge. | |
| unsigned int | noCellNeighbors () const |
| Return number of cell neighbors. | |
| Node & | node (int i) const |
| Get end node number i. | |
| Cell & | cell (int i) const |
| Return cell neighbor number i. | |
| Point & | coord (int i) const |
| Get coordinates of node number i. | |
| real | length () const |
| Compute and return length of the edge. | |
| Point | midpoint () const |
| Compute and return midpoint of the edge. | |
| bool | equals (const Node &n0, const Node &n1) const |
| Check if edge consists of the two nodes. | |
| bool | contains (const Node &n) const |
| Check if edge contains the node. | |
Friends | |
| class | Mesh |
| class | Node |
| class | GenericCell |
| class | MeshData |
| class | MeshInit |
| class | MeshRefinement |
| class | TriMeshRefinement |
| class | TetMeshRefinement |
| class | NodeIterator::CellNodeIterator |
| class | CellIterator::CellCellIterator |
| class | EdgeIterator::CellEdgeIterator |
| class | FaceIterator::CellFaceIterator |
| class | Triangle |
| class | Tetrahedron |
| LogStream & | operator<< (LogStream &stream, const Edge &edge) |
| Display condensed edge data. | |
|
|
Create empty edge.
|
|
||||||||||||
|
Create edge between two given nodes.
|
|
|
Destructor.
|
|
|
Return cell neighbor number i.
|
|
|
Clear edge data.
|
|
|
Check if edge contains the node.
|
|
|
Get coordinates of node number i.
|
|
||||||||||||
|
Check if edge consists of the two nodes.
|
|
|
Return id of edge.
|
|
|
Compute and return length of the edge.
|
|
|
Compute and return midpoint of the edge.
|
|
|
Return number of cell neighbors.
|
|
|
Get end node number i.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Display condensed edge data.
|
|
|
|
|
|
|
|
|
|
|
|
|
![]()
Documentation automatically generated with Doxygen on 10 Sep 2004.