In one dimension, the invariant is the well known cross-ratio from Möbius transformations:
Within one-dimensional space, the invariant is equivalent to the cross-ratio that appears in Möbius transformations.