| 100 | } |
| 101 | |
| 102 | bool operator< (Rectangle const& rectangle) const |
| 103 | { |
| 104 | if (center < rectangle.center) |
| 105 | { |
| 106 | return true; |
| 107 | } |
| 108 | |
| 109 | if (center > rectangle.center) |
| 110 | { |
| 111 | return false; |
| 112 | } |
| 113 | |
| 114 | if (axis < rectangle.axis) |
| 115 | { |
| 116 | return true; |
| 117 | } |
| 118 | |
| 119 | if (axis > rectangle.axis) |
| 120 | { |
| 121 | return false; |
| 122 | } |
| 123 | |
| 124 | return extent < rectangle.extent; |
| 125 | } |
| 126 | |
| 127 | bool operator<=(Rectangle const& rectangle) const |
| 128 | { |
no outgoing calls
no test coverage detected