| 45 | } |
| 46 | |
| 47 | void Spline::ReplacePoint(PointD const & pt) |
| 48 | { |
| 49 | ASSERT_GREATER(m_position.size(), 1, ()); |
| 50 | ASSERT(!m_length.empty(), ()); |
| 51 | ASSERT(!m_direction.empty(), ()); |
| 52 | m_position.pop_back(); |
| 53 | m_length.pop_back(); |
| 54 | m_direction.pop_back(); |
| 55 | AddPoint(pt); |
| 56 | } |
| 57 | |
| 58 | bool Spline::IsProlonging(PointD const & pt) const |
| 59 | { |
no test coverage detected