Facet¶
-
class
dolfin.cpp.mesh.
Facet
(mesh, index)¶ Bases:
dolfin.cpp.mesh.MeshEntity
A Facet is a MeshEntity of topological codimension 1.
Constructor
-
distance
()¶ Compute distance to given point.
- Arguments
- point (
Point
) - The point.
- point (
- Returns
- float
- 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.
-
normal
()¶ Overloaded versions
normal(i)
Compute component i of the normal to the facet
normal()
Compute normal to the facet
-
squared_distance
()¶ Compute squared distance to given point.
- Arguments
- point (
Point
) - The point.
- point (
- Returns
- float
- The squared distance to the point.
-
thisown
¶ The membership flag
-