Lines Matching refs:tol
168 //if tol>0, only force continuity where the jump is smaller than tol.
169 Piecewise<D2<SBasis> > force_continuity(Piecewise<D2<SBasis> > const &f, double tol, bool closed)
178 if (tol<=0 || L2sq(pt0-pt1)<tol*tol){
202 split_at_discontinuities (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwsbin, double tol)
208 if (i==(pwsbin.segs.size()-1) || L2(pwsbin.segs[i].at1()- pwsbin.segs[i+1].at0()) > tol){
254 std::vector<Piecewise<D2<SBasis> > > fuse_nearby_ends(std::vector<Piecewise<D2<SBasis> > > const &f, double tol){
266 if ( L2(a-aj) < tol ) {
271 if ( L2(b-bj) < tol ) {
291 if ( L2(comp.firstValue()-comp.lastValue()) < tol ){
322 std::vector<Interval> level_set( D2<SBasis> const &f, Point p, double tol){
324 region.expandBy( tol );
342 std::vector<std::vector<Interval> > level_sets( D2<SBasis> const &f, std::vector<Point> pts, double tol){
346 regions[i].expandBy( tol );