예제 #1
0
 def y(self):
     "Returns the Y coordinate for this Point."
     return capi.gety(self.ptr, 0)
예제 #2
0
파일: geometries.py 프로젝트: 007lva/mmddpp
 def y(self):
     "Returns the Y coordinate for this Point."
     return capi.gety(self.ptr, 0)
예제 #3
0
    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."
=======
        "Return the Z coordinate for this Point."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        if self.coord_dim == 3:
            return capi.getz(self.ptr, 0)

    @property
    def tuple(self):
<<<<<<< HEAD
        "Returns the tuple of this point."