# dolfinx.cpp.geometry

Geometry module

Classes

`BoundingBoxTree_float32`(self, mesh, dim, ...) |
`BoundingBoxTree_float64`(self, mesh, dim, ...) |
`PointOwnershipData_float32`(self, src_owner) |
`PointOwnershipData_float64`(self, src_owner) |

class dolfinx.cpp.geometry.BoundingBoxTree_float32(self, mesh: dolfinx.cpp.mesh.Mesh_float32, dim: int, padding: float, entities: ndarray[dtype=int32, shape=(*), order='C', writable=False] | None)

  Bases: `object`

  property bbox_coordinates

    Return coordinates of bounding boxes.Row 2*ibbox and 2*ibbox+1 correspond to the lower and upper corners of bounding box ibbox.

  create_global_tree
  get_bbox
  property num_bboxes

    (self) -> int

class dolfinx.cpp.geometry.BoundingBoxTree_float64(self, mesh: dolfinx.cpp.mesh.Mesh_float64, dim: int, padding: float, entities: ndarray[dtype=int32, shape=(*), order='C', writable=False] | None)

  Bases: `object`

  property bbox_coordinates

    Return coordinates of bounding boxes.Row 2*ibbox and 2*ibbox+1 correspond to the lower and upper corners of bounding box ibbox.

  create_global_tree
  get_bbox
  property num_bboxes

    (self) -> int

class dolfinx.cpp.geometry.PointOwnershipData_float32(self, src_owner: ndarray[dtype=int32, shape=(*), order='C', writable=False], dest_owners: ndarray[dtype=int32, shape=(*), order='C', writable=False], dest_points: ndarray[dtype=float32, shape=(*), order='C', writable=False], dest_cells: ndarray[dtype=int32, shape=(*), order='C', writable=False])

  Bases: `object`

  property dest_cells

    (self) -> numpy.ndarray[dtype=int32, writable=False]

  property dest_owners

    (self) -> numpy.ndarray[dtype=int32, writable=False]

  property dest_points

    Destination point

  property src_owner

    (self) -> numpy.ndarray[dtype=int32, writable=False]

class dolfinx.cpp.geometry.PointOwnershipData_float64(self, src_owner: ndarray[dtype=int32, shape=(*), order='C', writable=False], dest_owners: ndarray[dtype=int32, shape=(*), order='C', writable=False], dest_points: ndarray[dtype=float64, shape=(*), order='C', writable=False], dest_cells: ndarray[dtype=int32, shape=(*), order='C', writable=False])

  Bases: `object`

  property dest_cells

    (self) -> numpy.ndarray[dtype=int32, writable=False]

  property dest_owners

    (self) -> numpy.ndarray[dtype=int32, writable=False]

  property dest_points

    Destination point

  property src_owner

    (self) -> numpy.ndarray[dtype=int32, writable=False]