Sfoglia il codice sorgente

- Ifc: re-enable previously disabled code to determine more intersection points for polygonally bounded half splits.

Alexander Gessler 12 anni fa
parent
commit
e5ea457ade
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      code/IfcBoolean.cpp

+ 2 - 2
code/IfcBoolean.cpp

@@ -433,7 +433,7 @@ void ProcessPolygonalBoundedBooleanHalfSpaceDifference(const IfcPolygonalBounded
 
 
 					outvert.push_back(isectpos);
 					outvert.push_back(isectpos);
 					++newcount;
 					++newcount;
-					/*
+					
 					// this is, however, only a line that goes to the plane, but not
 					// this is, however, only a line that goes to the plane, but not
 					// necessarily to the point where the bounding volume on the
 					// necessarily to the point where the bounding volume on the
 					// black side of the plane is hit. So basically, we need another 
 					// black side of the plane is hit. So basically, we need another 
@@ -442,7 +442,7 @@ void ProcessPolygonalBoundedBooleanHalfSpaceDifference(const IfcPolygonalBounded
 					extra_point_flag = true;
 					extra_point_flag = true;
 					extra_point = isectpos;
 					extra_point = isectpos;
 
 
-					was_outside_boundary = true; */
+					was_outside_boundary = true; 
 					//continue;
 					//continue;
 				}
 				}
 				else {
 				else {