Block.has_edge

Block.has_edge(key)

Verify that the mesh contains a specific edge.

Parameters:
keytuple[int, int]

The identifier of the edge.

Returns:
bool

True if the edge exists. False otherwise.

Warning

This method may produce unexpected results.