Exemplo n.º 1
0
 def normalize(self, clone=False):
     """
     Convert this Geometry to normal form (or canonical form).
     If the `clone` keyword is set, then the geometry is not modified and a
     normalized clone of the geometry is returned instead.
     """
     if clone:
         clone = self.clone()
         capi.geos_normalize(clone.ptr)
         return clone
     capi.geos_normalize(self.ptr)
Exemplo n.º 2
0
 def normalize(self):
     "Converts this Geometry to normal form (or canonical form)."
     return capi.geos_normalize(self.ptr)
Exemplo n.º 3
0
 def normalize(self):
     "Converts this Geometry to normal form (or canonical form)."
     return capi.geos_normalize(self.ptr)