Aligning geometry with a plane