# Facet¶

class dolfin.cpp.mesh.Facet

A Facet is a MeshEntity of topological codimension 1.

Constructor.

Parameters: Mesh & mesh (const) – index (std::size_t) –
distance()

Compute distance to given point.

Parameters: Point & point (const) – (Point ) The point. double double The distance to the point.
exterior()

Return true if facet is an exterior facet (relative to global mesh, so this function will return false for facets on partition boundaries). Facet connectivity must be initialized before calling this function.

Return type: bool
normal()

Compute component i of the normal to the facet.

Parameters: i (std::size_t) – double
squared_distance()

Compute squared distance to given point.

Parameters: Point & point (const) – (Point ) The point. double double The squared distance to the point.
thisown

The membership flag