What this relates to:
The distance between aircraft, given their positions and velocity, is such that their safety is potentially threatened. When this situation occurs from the perspective of a pilot or air traffic controller, they refer to it as a near collision or Airprox. If the near collision cannot be anticipated and averted, a mid-air collision occurs.
Whether an airborne conflict is considered an Airprox or a separation minima infringement (SMI) depends on the type of airspace and the flight rules the two aircraft are subject to. The definitions of both, an Airprox and an SMI are not linked to the actual or perceived air conflict.
Example:
A pilot is transporting passengers around the Alps in a light aircraft. Suddenly there is a helicopter flying directly towards her. The two pilots manage to avoid each other at the last second; they fly past each other with just 20 metres between them.