Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
Parent class(es)
An Edge is a MeshEntity of topological dimension 1.
Create edge on given mesh
Create edge from mesh entity
Compute Euclidean length of edge
UnitSquare mesh(2, 2);
Edge edge(mesh, 0);
info("%g", edge.length());
output:
0.5
Parent class(es)
- MeshFunction
An EdgeFunction is a MeshFunction of topological dimension 1.