class_docstr: A single keypoint (aka landmark) on an image.
  
  Parameters
  ----------
  x : number
      Coordinate of the keypoint on the x axis.
  
  y : number
      Coordinate of the keypoint on the y axis.
class_docstr_tok: ["A","single","keypoint","(","aka","landmark",")","on","an","image",".","Parameters","--","--","--","--","--","x",":","number","Coordinate","of","the","keypoint","on","the","x","axis",".","y",":","number","Coordinate","of","the","keypoint","on","the","y","axis","."]
docstr: Estimate if this and another KP have almost identical coordinates.
  
  Added in 0.4.0.
  
  Parameters
  ----------
  other : imgaug.augmentables.kps.Keypoint or iterable
      The other keypoint with which to compare this one.
      If this is an ``iterable``, it is assumed to contain the
      xy-coordinates of a keypoint.
  
  max_distance : number, optional
      The maximum euclidean distance between a this keypoint and the
      other one. If the distance is exceeded, the two keypoints are not
      viewed as equal.
  
  Returns
  -------
  bool
      Whether the two keypoints have almost identical coordinates.
docstr_tok: ["Estimate","if","this","and","another","KP","have","almost","identical","coordinates",".","Added","in","0.4.0",".","Parameters","--","--","--","--","--","other",":","imgaug.augmentables.kps.Keypoint","or","iterable","The","other","keypoint","with","which","to","compare","this","one",".","If","this","is","an","``","iterable","``",",","it","is","assumed","to","contain","the","xy-coordinates","of","a","keypoint",".","max_distance",":","number",",","optional","The","maximum","euclidean","distance","between","a","this","keypoint","and","the","other","one",".","If","the","distance","is","exceeded",",","the","two","keypoints","are","not","viewed","as","equal",".","Returns","--","--","--","-","bool","Whether","the","two","keypoints","have","almost","identical","coordinates","."]
code: def coords_almost_equals(self, other, max_distance=1e-4):
      """Estimate if this and another KP have almost identical coordinates.
  
      Added in 0.4.0.
  
      Parameters
      ----------
      other : imgaug.augmentables.kps.Keypoint or iterable
          The other keypoint with which to compare this one.
          If this is an ``iterable``, it is assumed to contain the
          xy-coordinates of a keypoint.
  
      max_distance : number, optional
          The maximum euclidean distance between a this keypoint and the
          other one. If the distance is exceeded, the two keypoints are not
          viewed as equal.
  
      Returns
      -------
      bool
          Whether the two keypoints have almost identical coordinates.
  
      """
      if ia.is_np_array(other):
          # we use flat here in case other is (N,2) instead of (4,)
          coords_b = other.flat
      elif ia.is_iterable(other):
          coords_b = list(ia.flatten(other))
      else:
          assert isinstance(other, Keypoint), (
              "Expected 'other' to be an iterable containing one "
              "(x,y)-coordinate pair or a Keypoint. "
              "Got type %s." % (type(other),)
          )
          coords_b = other.coords.flat
  
      coords_a = self.coords
  
      return np.allclose(
          coords_a.flat, coords_b, atol=max_distance, rtol=0
      )
  
imports: from __future__ import print_function, division, absolute_import
  import numpy
  import scipy.spatial.distance
  import six.moves
  from ..None import imgaug
  from .base import IAugmentable
  from .utils import normalize_imglike_shape, project_coords, _remove_out_of_image_fraction_, _handle_on_image_shape
label_desc: Use image node_id 15 for calling the Keypoint obj's underlying member method code with example usage: obj.coords_almost_equals(other, max_distance) and returns: np