GenericBoundingBoxTree

class dolfin.cpp.mesh.GenericBoundingBoxTree(*args, **kwargs)

Bases: object

Base class for bounding box implementations (envelope-letter design)

build()

Overloaded versions

  • build(mesh, tdim)

    Build bounding box tree for mesh entities of given dimension

  • build(points)

    Build bounding box tree for point cloud

compute_closest_entity()

Compute closest entity and distance to Point

compute_closest_point()

Compute closest point and distance to Point

compute_collisions()

Overloaded versions

  • compute_collisions(point)

    Compute all collisions between bounding boxes and Point

  • compute_collisions(tree)

    Compute all collisions between bounding boxes and BoundingBoxTree

compute_entity_collisions()

Overloaded versions

  • compute_entity_collisions(point, mesh)

    Compute all collisions between entities and Point

  • compute_entity_collisions(tree, mesh_A, mesh_B)

    Compute all collisions between entities and BoundingBoxTree

compute_first_collision()

Compute first collision between bounding boxes and Point

compute_first_entity_collision()

Compute first collision between entities and Point

thisown

The membership flag