Changeset 1269 for applications/robust/robustlib.h
- Timestamp:
- 01/07/11 10:09:42 (13 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/robust/robustlib.h
r1268 r1269 960 960 vec new_coordinates = coordinates1*t+(coordinates2(1,coordinates2.size()-1)-coordinates1); 961 961 962 vertex* neutral_vertex = new vertex(new_coordinates); 963 964 neutral_vertex->my_emlig = this; 962 vertex* neutral_vertex = new vertex(new_coordinates); 965 963 966 964 new_totally_neutral_child = neutral_vertex; … … 968 966 else 969 967 { 970 toprow* neutral_toprow = new toprow(); 971 972 neutral_toprow->my_emlig = this; 968 toprow* neutral_toprow = new toprow(); 973 969 974 970 new_totally_neutral_child = neutral_toprow; 975 971 } 972 973 new_totally_neutral_child->my_emlig = this; 976 974 977 975 new_totally_neutral_child->children.insert(new_totally_neutral_child->children.end(), … … 985 983 new_totally_neutral_child->vertices.insert((*grand_ref)->vertices.begin(),(*grand_ref)->vertices.end()); 986 984 } 985 986 cout << ((toprow*)current_polyhedron)->condition << endl << toadd << endl; 987 987 988 988 toprow* positive_poly = new toprow(((toprow*)current_polyhedron)->condition+toadd, ((toprow*)current_polyhedron)->condition_order+1); … … 1071 1071 } 1072 1072 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 } 1076 1081 1077 1082 void set_correction_factors(int order)