MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / __init__

Method __init__

python/dolfinx/geometry.py:74–82  ·  view source on GitHub ↗

Wrap a C++ BoundingBoxTree. Note: This initializer should not be used in user code. Use ``bb_tree``.

(self, tree)

Source from the content-addressed store, hash-verified

72 _cpp_object: _cpp.geometry.BoundingBoxTree_float32 | _cpp.geometry.BoundingBoxTree_float64
73
74 def __init__(self, tree):
75 """Wrap a C++ BoundingBoxTree.
76
77 Note:
78 This initializer should not be used in user code. Use
79 ``bb_tree``.
80
81 """
82 self._cpp_object = tree
83
84 @property
85 def num_bboxes(self) -> int:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected