Get a line from an indexed side, starting top, going clockwise
| 686 | |
| 687 | // Get a line from an indexed side, starting top, going clockwise |
| 688 | inline line<T> side(const size_t i) const |
| 689 | { |
| 690 | if ((i & 0b11) == 0) return top(); |
| 691 | if ((i & 0b11) == 1) return right(); |
| 692 | if ((i & 0b11) == 2) return bottom(); |
| 693 | //if ((i & 0b11) == 3) return left(); // Dumb compilers cant fathom this |
| 694 | return left(); |
| 695 | } |
| 696 | |
| 697 | // Get area of rectangle |
| 698 | inline constexpr T area() const |
nothing calls this directly
no outgoing calls
no test coverage detected