PointPair helper object

(this has literally been copy pasted so the build is not going to be in the git)