static setCoordinate(source, coordinate, target, axis) {
        const t = HctSolver.intercept(source[axis], coordinate, target[axis]);
        return HctSolver.lerpPoint(source, t, target);
    }
Intersects a segment with a plane.

@param source The coordinates of point A.
@param coordinate The R-, G-, or B-coordinate of the plane.
@param target The coordinates of point B.
@param axis The axis the plane is perpendicular with. (0: R, 1:
G, 2: B)
@return The intersection point of the segment AB with the plane
R=coordinate, G=coordinate, or B=coordinate