RectGrid.extent

property RectGrid.extent

Return the edge lengths of this grid’s minimal bounding box.

Examples

>>> g = RectGrid([1, 2, 5], [-2, 1.5, 2])
>>> g.extent
array([ 4.,  4.])