class documentation
class Envelope: (source)
The Envelope object is a C structure that contains the minimum and maximum X, Y coordinates for a rectangle bounding box. The naming of the variables is compatible with the OGR Envelope structure.
Method | __eq__ |
Return True if the envelopes are equivalent; can compare against other Envelopes and 4-tuples. |
Method | __init__ |
The initialization function may take an OGREnvelope structure, 4-element tuple or list, or 4 individual arguments. |
Method | __str__ |
Return a string representation of the tuple. |
Method | expand |
Modify the envelope to expand to include the boundaries of the passed-in 2-tuple (a point), 4-tuple (an extent) or envelope. |
Property | ll |
Return the lower-left coordinate. |
Property | max |
Return the value of the maximum X coordinate. |
Property | max |
Return the value of the maximum Y coordinate. |
Property | min |
Return the value of the minimum X coordinate. |
Property | min |
Return the value of the minimum Y coordinate. |
Property | tuple |
Return a tuple representing the envelope. |
Property | ur |
Return the upper-right coordinate. |
Property | wkt |
Return WKT representing a Polygon for this envelope. |
Method | _from |
Initialize the C OGR Envelope structure from the given sequence. |
Instance Variable | _envelope |
Undocumented |
The initialization function may take an OGREnvelope structure, 4-element tuple or list, or 4 individual arguments.
Modify the envelope to expand to include the boundaries of the passed-in 2-tuple (a point), 4-tuple (an extent) or envelope.