What an anchor does
An anchor holds the pipe completely at one point: it restrains all three translations and all three rotations. It thereby divides the line into sections whose thermal expansion is absorbed separately and defines the direction in which each section moves.
Anchors protect sensitive connections from the movements of long lines and carry the pressure thrust of unrestrained expansion joints. In practice there are also supports that restrain movement along the pipe axis only; these are called line stops or axial stops and are not full anchors.