A function to alter one coordinate of a point, it returns the new value for the coordinate
The coordinate to alter
The axis for the coordinate being altered
The point that the coordinate is part of
A function to alter one coordinate of a point, it returns the new value for the coordinate