MCPcopy
hub / github.com/django/django / _from_sequence

Method _from_sequence

django/contrib/gis/gdal/envelope.py:99–105  ·  view source on GitHub ↗

Initialize the C OGR Envelope structure from the given sequence.

(self, seq)

Source from the content-addressed store, hash-verified

97 return str(self.tuple)
98
99 def _from_sequence(self, seq):
100 "Initialize the C OGR Envelope structure from the given sequence."
101 self._envelope = OGREnvelope()
102 self._envelope.MinX = seq[0]
103 self._envelope.MinY = seq[1]
104 self._envelope.MaxX = seq[2]
105 self._envelope.MaxY = seq[3]
106
107 def expand_to_include(self, *args):
108 """

Callers 1

__init__Method · 0.95

Calls 1

OGREnvelopeClass · 0.85

Tested by

no test coverage detected