Edge

class dolfin.cpp.mesh.Edge(*args)

Bases: dolfin.cpp.mesh.MeshEntity

An Edge is a MeshEntity of topological dimension 1.

Overloaded versions

  • Edge(mesh, index)

    Create edge on given mesh

    Arguments
    mesh (Mesh)

    The mesh.

    index (int)

    Index of the edge.

  • Edge(entity)

    Create edge from mesh entity

    Arguments
    entity (MeshEntity)

    The mesh entity to create an edge from.

dot()

Compute dot product between edge and other edge

Arguments
edge (Edge)
Another edge.
Returns
float
The dot product.
Example

Note

No example code available for this function.

length()

Compute Euclidean length of edge

Returns
float
Euclidean length of edge.
Example

Note

No example code available for this function.

thisown

The membership flag