Given a unit distance, get point along line
| 594 | |
| 595 | // Given a unit distance, get point along line |
| 596 | inline constexpr olc::v_2d<T> upoint(const T& distance) const |
| 597 | { |
| 598 | return start + vector() * distance; |
| 599 | } |
| 600 | |
| 601 | // Return which side of the line does a point lie |
| 602 | inline constexpr int32_t side(const olc::v_2d<T>& point) const |