Changeset 52:26851bc6daf6 in rrlib_geometry for curves/tBSplineCurve.h


Ignore:
Timestamp:
25.06.2013 19:28:25 (8 years ago)
Author:
Tobias Föhst <foehst@…>
Branch:
default
Phase:
public
Message:

Made tBSplineCurve::NumberOfSegments cache its result and fixed the lookup functions for local segments and parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • curves/tBSplineCurve.h

    r51 r52  
    125125  /*! Bezier control points used to evaluate b-spline curve which is converted to a set of bezier curves  */ 
    126126  mutable std::vector<typename tShape::tPoint> bezier_control_point_cache; 
     127  mutable unsigned int number_of_segments; 
    127128 
    128129  /*! 
Note: See TracChangeset for help on using the changeset viewer.