Skip to content

Commit 9338bce

Browse files
Invert P2 and P1
1 parent 708c2a6 commit 9338bce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ifcgeom/kernels/opencascade/IfcGeomTree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ namespace IfcGeom {
11021102
clash intersection = test_intersection(task.b, task.a, tolerance, check_all);
11031103
if (intersection.clash_type != -1) {
11041104
//We invert the result, in order to keep the initial order, otherwise, it's all mixed.
1105-
result = {intersection.clash_type,intersection.b,intersection.a,intersection.distance,intersection.p1,intersection.p2}
1105+
result = {intersection.clash_type,intersection.b,intersection.a,intersection.distance,intersection.p2,intersection.p1}
11061106

11071107
// Replace the clash result if any of these criteria apply:
11081108
// - We don't have a clash yet

0 commit comments

Comments
 (0)