BRepClass3d_SClassifier.cxx : revert integration for CR29712
Test case added
aSelectorLine.SetCurrentLine(L, Par);
Standard_Integer SelsEVL = 0;
SelsEVL = aTree.Select(aSelectorLine); //SelsEE > 0 => Line/Edges & Line/Vertex intersection
-
- if (!aSelectorLine.IsCorrect())
- {
- // Go to the next segment
- isFaultyLine = Standard_True;
- continue;
- }
-
+
if (SelsEVL > 0 )
{
// Line and edges / vertices interference.
--- /dev/null
+puts "======================================================="
+puts "0031415: Modeling Algorithms - Solid classifier works incorrectly on a cylinder"
+puts "======================================================="
+puts ""
+
+restore [locate_data_file bug31415_1.brep] comp
+restore [locate_data_file bug31415_2.brep] cyl
+
+explode comp v
+mkpoint p1 comp_1
+mkpoint p2 comp_2
+mkpoint p3 comp_3
+mkpoint p4 comp_4
+foreach p {p1 p2 p3 p4} {
+ if {![regexp "IN" [bclassify cyl $p]]} {
+ puts "Error: classyfication of $p is wrong"
+ }
+}
\ No newline at end of file