MantisBT - Community
View Issue Details
0031641Community[OCCT] OCCT:Modeling Algorithmspublic2020-06-29 11:222020-06-29 11:23
mat127 
msv 
normalmajor 
newopen 
Linux 64bitFedora Core31
[OCCT] 7.3.0 
 
0031641: IntCurvesFace_ShapeIntersector incorrect result
There is a shape stored in the attached shape.brep file. IntCurvesFace_ShapeIntersector gives an icorrect results for checking intersections of this shape with lines parallel to the Z axis at particular (x,y) directions.

The application oputput is:

[(0.839, -4.675, -1.555), (0, 0, 1)]
  (0.839, -4.675, 0): out
  (0.839, -4.675, 0): in
  (0.839, -4.675, 1.5): out
[(2.304, -3.40779, -1.555), (0, 0, 1)]
  (2.304, -3.40779, 0): out

Line definition [(location),(direction)] is followed by an intended list of intersection points and their transitions in the form (intersection location): transition.

In both cases the first intersection point having the transition 'out' is errorneous. It means that the line for z < 0 is inside the shape which is not true.
Compile and run the attached .cxx file and check the output according to the description. Note that the application needs the provided shape.brep file being placed in the same directory as the application binary.
No tags attached.
cxx intersector.cxx (2,622) 2020-06-29 11:22
https://tracker.dev.opencascade.org/
? shape.brep (590,377) 2020-06-29 11:23
https://tracker.dev.opencascade.org/
Issue History
2020-06-29 11:22mat127New Issue
2020-06-29 11:22mat127Assigned To => msv
2020-06-29 11:22mat127File Added: intersector.cxx
2020-06-29 11:23mat127File Added: shape.brep

There are no notes attached to this issue.