示例#1
0
 def y(self):
     "Returns the Y coordinate for this Point."
     return capi.gety(self.ptr, 0)
示例#2
0
 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."