コード例 #1
0
ファイル: geometries.py プロジェクト: 007lva/mmddpp
 def close_rings(self):
     """
     If there are any rings within this geometry that have not been
     closed, this routine will do so by adding the starting point at the
     end.
     """
     # Closing the open rings.
     capi.geom_close_rings(self.ptr)
コード例 #2
0
ファイル: geometries.py プロジェクト: huicheese/Django-test3
 def close_rings(self):
     """
     If there are any rings within this geometry that have not been
     closed, this routine will do so by adding the starting point at the
     end.
     """
     # Closing the open rings.
     capi.geom_close_rings(self.ptr)