void setCoord(double value, int dim, {Vector3? direction}) { direction ??= ORIGIN; var curr = getCoord(dim, direction: direction); var shiftVec = ORIGIN.withComponent(dim, value - curr); shift(shiftVec); }