docs: def to_affine(self):
          """
          Converts this point to an affine representation.
  
          Returns:
              AffinePoint: The affine reprsentation.
          """
          X, Y, Z = self.x, self.y, self.inverse(self.z)
          return ((X * Z ** 2) % P, (Y * Z ** 3) % P)