Show
Ignore:
Timestamp:
01/07/11 10:09:42 (13 years ago)
Author:
sindj
Message:

Oprava faktorialu zapornych cisel ve vypoctu integralu v triangulaci. Zbyva opravit nenaplneni podminky v nekterych toprow polyhedronech. JS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/robust/robustlib.h

    r1268 r1269  
    960960                                                vec new_coordinates = coordinates1*t+(coordinates2(1,coordinates2.size()-1)-coordinates1);                                       
    961961 
    962                                                 vertex* neutral_vertex = new vertex(new_coordinates); 
    963  
    964                                                 neutral_vertex->my_emlig = this; 
     962                                                vertex* neutral_vertex = new vertex(new_coordinates);                                            
    965963 
    966964                                                new_totally_neutral_child = neutral_vertex; 
     
    968966                                        else 
    969967                                        { 
    970                                                 toprow* neutral_toprow = new toprow(); 
    971  
    972                                                 neutral_toprow->my_emlig = this; 
     968                                                toprow* neutral_toprow = new toprow();                                           
    973969 
    974970                                                new_totally_neutral_child = neutral_toprow; 
    975971                                        } 
     972 
     973                                        new_totally_neutral_child->my_emlig = this; 
    976974                                         
    977975                                        new_totally_neutral_child->children.insert(new_totally_neutral_child->children.end(), 
     
    985983                                                new_totally_neutral_child->vertices.insert((*grand_ref)->vertices.begin(),(*grand_ref)->vertices.end()); 
    986984                                        } 
     985 
     986                                        cout << ((toprow*)current_polyhedron)->condition << endl << toadd << endl; 
    987987 
    988988                                        toprow* positive_poly = new toprow(((toprow*)current_polyhedron)->condition+toadd, ((toprow*)current_polyhedron)->condition_order+1); 
     
    10711071                } 
    10721072 
    1073                  
    1074         } 
    1075  
     1073                /* 
     1074                for(polyhedron* topr_ref = statistic.rows[statistic.size()-1];topr_ref!=statistic.row_ends[statistic.size()-1]->next_poly;topr_ref=topr_ref->next_poly) 
     1075                { 
     1076                        cout << ((toprow*)topr_ref)->condition << endl; 
     1077                } 
     1078                */ 
     1079 
     1080        } 
    10761081 
    10771082        void set_correction_factors(int order)