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

Method bbox_coordinates

python/dolfinx/geometry.py:90–97  ·  view source on GitHub ↗

Coordinates of lower and upper corners of bounding boxes. Note: Rows `2*ibbox` and `2*ibbox+1` correspond to the lower and upper corners of bounding box `ibbox`, respectively.

(self)

Source from the content-addressed store, hash-verified

88
89 @property
90 def bbox_coordinates(self) -> npt.NDArray[Real]:
91 """Coordinates of lower and upper corners of bounding boxes.
92
93 Note:
94 Rows `2*ibbox` and `2*ibbox+1` correspond to the lower
95 and upper corners of bounding box `ibbox`, respectively.
96 """
97 return self._cpp_object.bbox_coordinates
98
99 def get_bbox(self, i) -> npt.NDArray[Real]:
100 """Get lower and upper corners of the ith bounding box.

Callers 1

declare_bbtreeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected