- class geoscript.geom.Bounds¶
A two dimensional bounding box.
Ratio of width to height for this bounds.
The rightmost/eastmost oordinate of the bounds.
Expands this bounds to include another.
The topmost/northmost oordinate of the bounds.
Scales the bounds by a specified factor.
factor is the scale factor. The scale factor must be greather than 0. A value greater than 1 will grow the bounds whereas a value of less than 1 will shrink the bounds.
This method returns a new Bounds object.>>> b = Bounds(0, 0, 1, 1) >>> b.scale(1.5) (-0.25, -0.25, 1.25, 1.25)
The bottomtmost/southmost oordinate of the bounds.
Partitions the bounding box into a set of smaller bounding boxes.
The res argument is the resolution to tile at and should be in the range (0,1].
Converts the bounding box to a Polygon.
The leftmost/westmost oordinate of the bounds.