Changeset 88:0652d9041270 in rrlib_geometry


Ignore:
Timestamp:
29.07.2019 13:27:49 (4 months ago)
Author:
Tobias Föhst <foehst@…>
Branch:
14.08
Phase:
public
Message:

Asserting a correct knot vector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • curves/tBSplineCurve.hpp

    r60 r88  
    152152void tBSplineCurve<Tdimension, TElement, Tdegree>::CalculateBezierControlPoints() const 
    153153{ 
     154  for (std::size_t i = 0, k = 1; k < this->knots.size(); ++i, ++k) 
     155  { 
     156    assert(this->knots[i] <= this->knots[k]); 
     157  } 
    154158  this->bezier_control_point_cache.clear(); 
    155159  std::vector<typename tSplineCurve::tParameter> new_knots; 
Note: See TracChangeset for help on using the changeset viewer.