Lines Matching refs:crossing_points

356     crossing_points(),
380 if (selectedCrossing < crossing_points.size()){
381 switcher = crossing_points[selectedCrossing].pt;
383 }else if (crossing_points.size()>0){
385 switcher = crossing_points[selectedCrossing].pt;
415 for (unsigned p = 0; p < crossing_points.size(); p++){
416 if ( (crossing_points[p].i == i0) || (crossing_points[p].j == i0) ) {
417 unsigned i = crossing_points[p].i;
418 unsigned j = crossing_points[p].j;
419 double ti = crossing_points[p].ti;
420 double tj = crossing_points[p].tj;
438 if ( crossing_points[p].sign * geom_sign > 0 ){
440 }else if ( crossing_points[p].sign * geom_sign < 0 ){
580 crossing_points = LPEKnotNS::CrossingPoints(gpaths);
581 // std::cout<<"\nNew crdata ("<<crossing_points.size()<<"): \n";
582 // for (unsigned toto=0; toto<crossing_points.size(); toto++){
584 // std::cout<<crossing_points[toto].i<<",";
585 // std::cout<<crossing_points[toto].j<<",";
586 // std::cout<<crossing_points[toto].ni<<",";
587 // std::cout<<crossing_points[toto].nj<<",";
588 // std::cout<<crossing_points[toto].ti<<",";
589 // std::cout<<crossing_points[toto].tj<<",";
590 // std::cout<<crossing_points[toto].sign<<"),";
592 crossing_points.inherit_signs(old_crdata);
595 crossing_points_vector.param_setValue(crossing_points.to_vector());
607 if ( (selectedCrossing >= crossing_points.size()) || (crossing_points[selectedCrossing].sign > 0) ) {
610 } else if (crossing_points[selectedCrossing].sign < 0) {
636 lpe->selectedCrossing = idx_of_nearest(lpe->crossing_points,p);
654 if (s < lpe->crossing_points.size()){
656 lpe->crossing_points[s].sign = 1;
658 int sign = lpe->crossing_points[s].sign;
659 lpe->crossing_points[s].sign = ((sign+2)%3)-1;
660 //std::cout<<"crossing set to"<<lpe->crossing_points[s].sign<<".\n";
662 lpe->crossing_points_vector.param_set_and_write_new_value(lpe->crossing_points.to_vector());