3 ms·
This seems rather trivial. Take two arbitrary points, named A and B, where Ax < Bx (if Ax == Bx, this becomes absurdly simple). Calculate the delta ∂ between
by eridius 14y ago
This seems rather trivial.
Take two arbitrary points, named A and B, where Ax < Bx (if Ax == Bx, this becomes absurdly simple).
Calculate the delta ∂ between the points, such that ∂x = Bx - Ax and ∂y = By - Ay
Define a third point C such that Cx = Bx + ∂x and Cy = By + ∂y.
C is integral, and is colinear with A and B.