datacube.utils.geometry.BoundingBox

class datacube.utils.geometry.BoundingBox[source]

Bounding box, defining extent in cartesian coordinates.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

buffered(ybuff, xbuff) Return a new BoundingBox, buffered in the x and y dimensions.
count Return number of occurrences of value.
index Return first index of value.
transform(transform) Transform bounding box through a linear transform

Attributes

bottom Alias for field number 1
height
left Alias for field number 0
points Extract four corners of the bounding box
right Alias for field number 2
top Alias for field number 3
width