Use mouse to move individual pointmasses.
This example gives a demonstration of how you can check whether a point is on one side of an axes, or another.
The value on the top is positive if the top point of the larger triangle is positioned outside the long edge of the smaller triangle.