コード例 #1
0
ファイル: geotypes.py プロジェクト: FIWARE-GEs/quantum-leap
 def __init__(self, points: Iterable['SlfPoint']):
     ps = iter(ensure_min_items(2, points))
     self._bottom_right_corner = next(ps)
     self._top_left_corner = next(ps)
コード例 #2
0
ファイル: geotypes.py プロジェクト: FIWARE-GEs/quantum-leap
 def __init__(self, points: Iterable['SlfPoint']):
     self._pts = ensure_min_items(4, points)