MeshPointIntersection

class dolfin.cpp.mesh.MeshPointIntersection(mesh: dolfin.cpp.mesh.Mesh, point: dolfin.cpp.mesh.Point)

Bases: object

This class represents an intersection between a Mesh and a Point . The resulting intersection is stored as a list of zero or more cells.

Compute intersection between mesh and point.

Parameters:
  • Mesh & mesh (const) –
  • Point & point (const) –
intersected_cells()

Return the list of (local) indices for intersected cells.

Return type:const std::vector< unsigned int > &
thisown

The membership flag