Ejemplo n.º 1
0
 def length(self):
     """
     Returns the length of this Geometry (e.g., 0 for point, or the
     circumfrence of a Polygon).
     """
     return capi.geos_length(self.ptr, byref(c_double()))
Ejemplo n.º 2
0
 def length(self):
     """
     Returns the length of this Geometry (e.g., 0 for point, or the
     circumference of a Polygon).
     """
     return capi.geos_length(self.ptr, byref(c_double()))