this can be done easily with snaping features in maya, or the align tools in the modify tab. snap to a point constrains selections to a "2d" plane nearest the point. you dont actually have to snap it to a point, snap and mmb drag on a "single" axis at a time. or use the align tools.