Example #1
0
 def x(self):
     "Returns the X coordinate for this Point."
     return capi.getx(self.ptr, 0)
Example #2
0
 def x(self):
     "Returns the X coordinate for this Point."
     return capi.getx(self.ptr, 0)
Example #3
0
=======
        return geos.Point._create_empty() if self.empty else super()._geos_ptr()
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435

    @classmethod
    def _create_empty(cls):
        return capi.create_geom(OGRGeomType('point').num)

    @property
    def x(self):
<<<<<<< HEAD
        "Returns the X coordinate for this Point."
=======
        "Return the X coordinate for this Point."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        return capi.getx(self.ptr, 0)

    @property
    def y(self):
<<<<<<< HEAD
        "Returns the Y coordinate for this Point."
=======
        "Return the Y coordinate for this Point."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        return capi.gety(self.ptr, 0)

    @property
    def z(self):
<<<<<<< HEAD
        "Returns the Z coordinate for this Point."
=======