329 | | retval = less_slope(elm1.second.get(HORIZONTAL) - elm1.first.get(HORIZONTAL), |
330 | | elm1.second.get(VERTICAL) - elm1.first.get(VERTICAL), |
331 | | elm2.second.get(HORIZONTAL) - elm2.first.get(HORIZONTAL), |
332 | | elm2.second.get(VERTICAL) - elm2.first.get(VERTICAL)); |
333 | | retval = ((*justBefore_) != 0) ^ retval; |
| 329 | typedef typename coordinate_traits<Unit>::manhattan_area_type at; |
| 330 | at dx1 = at(elm1.second.get(HORIZONTAL)) - at(elm1.first.get(HORIZONTAL)); |
| 331 | at dy1 = at(elm1.second.get(VERTICAL)) - at(elm1.first.get(VERTICAL)); |
| 332 | at dx2 = at(elm2.second.get(HORIZONTAL)) - at(elm2.first.get(HORIZONTAL)); |
| 333 | at dy2 = at(elm2.second.get(VERTICAL)) - at(elm2.first.get(VERTICAL)); |
| 334 | retval = ((*justBefore_) != 0) ^ less_slope(dx1, dy1, dx2, dy2); |
829 | | retval = less_slope(elm1.other_pt.get(HORIZONTAL) - elm1.pt.get(HORIZONTAL), |
830 | | elm1.other_pt.get(VERTICAL) - elm1.pt.get(VERTICAL), |
831 | | elm2.other_pt.get(HORIZONTAL) - elm2.pt.get(HORIZONTAL), |
832 | | elm2.other_pt.get(VERTICAL) - elm2.pt.get(VERTICAL)); |
833 | | retval = ((*justBefore_) != 0) ^ retval; |
| 830 | typedef typename coordinate_traits<Unit>::manhattan_area_type at; |
| 831 | at dx1 = at(elm1.other_pt.get(HORIZONTAL)) - at(elm1.pt.get(HORIZONTAL)); |
| 832 | at dy1 = at(elm1.other_pt.get(VERTICAL)) - at(elm1.pt.get(VERTICAL)); |
| 833 | at dx2 = at(elm2.other_pt.get(HORIZONTAL)) - at(elm2.pt.get(HORIZONTAL)); |
| 834 | at dy2 = at(elm2.other_pt.get(VERTICAL)) - at(elm2.pt.get(VERTICAL)); |
| 835 | retval = ((*justBefore_) != 0) ^ less_slope(dx1, dy1, dx2, dy2); |
1236 | | Unit dx1 = elm1.first.first.first.get(HORIZONTAL) - elm1.first.first.second.get(HORIZONTAL); |
1237 | | Unit dx2 = elm2.first.first.first.get(HORIZONTAL) - elm2.first.first.second.get(HORIZONTAL); |
1238 | | Unit dy1 = elm1.first.first.first.get(VERTICAL) - elm1.first.first.second.get(VERTICAL); |
1239 | | Unit dy2 = elm2.first.first.first.get(VERTICAL) - elm2.first.first.second.get(VERTICAL); |
| 1238 | typedef typename coordinate_traits<Unit>::manhattan_area_type at; |
| 1239 | at dx1 = at(elm1.first.first.first.get(HORIZONTAL)) - at(elm1.first.first.second.get(HORIZONTAL)); |
| 1240 | at dx2 = at(elm2.first.first.first.get(HORIZONTAL)) - at(elm2.first.first.second.get(HORIZONTAL)); |
| 1241 | at dy1 = at(elm1.first.first.first.get(VERTICAL)) - at(elm1.first.first.second.get(VERTICAL)); |
| 1242 | at dy2 = at(elm2.first.first.first.get(VERTICAL)) - at(elm2.first.first.second.get(VERTICAL)); |