function placeToCell(point, cell) {
	const cellSizeHalf = cell / 2;
	function placeToCell(coordinate) {
		const coor = (Math.round(coordinate / cell) * cell);
		return (coordinate - coor > 0) ? coor + cellSizeHalf : coor - cellSizeHalf;
	}

	point.x = placeToCell(point.x);
	point.y = placeToCell(point.y);
}
@param {Point} point
@param {number} cell