If I have two points at different X/Y coordinates, I know that:
- They are vertically aligned if both are at the same X coordinate;
- They are horizontally aligned if both are at the same Y coordinate.
Based on the X/Y coordinates of one in relation to the other I can also tell the distance between them, etc.
Now, how can you tell that the points are diagonally aligned by following the same logic?