Examination of the geometry of long-range tip—sample interaction in atomic force microscopy