N013 — Boolean cascade vertex deviation (independently computed pairwise intersections)

§12.4 (sub-class: boolean-drift / floating-point accumulation)

P1 — silent data loss

topology

Sources

Description

When three or more surfaces meet at a single mathematical vertex, OCCT computes each pairwise edge-edge intersection independently. Floating-point error makes the three candidate vertex coordinates disagree by 1e-9 to 1e-5, so the boolean output emits three almost-coincident vertices and three short edges (or a tiny triangle face) in place of one shared vertex.

Reproducer recipe

Boolean-intersect three half-spaces meeting in one vertex with rotated frames so each pairwise intersection suffers small numerical perturbation.

Expected kernel behavior

heal; compute the desired vertex by edge-face intersection (one dimension lower) and snap candidate vertices to it; carry an accumulated-error tolerance budget per topological entity.

Notes

Synonyms: "three-surface meet point splits into three vertices", "pairwise intersections disagree by 1e-9", "boolean cascade introduces vertex jitter", "single mathematical vertex becomes three near-coincident vertices", "tiny triangle face appears where one vertex should be".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* N013: boolean cascade: three pairwise intersections produce three near-coincident VERTEX_POINTs offset by ~1.0E-9; three EDGE_CURVEs instead of one vertex; GEOMETRIC_CURVE_SET — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('N013'),'2;1');
5FILE_NAME('N013.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=CARTESIAN_POINT('vtx_A',(0.0,0.0,0.0));
10#2=CARTESIAN_POINT('vtx_B_jitter_x',(1.0E-09,0.0,0.0));
11#3=CARTESIAN_POINT('vtx_C_jitter_y',(0.0,1.0E-09,0.0));
12#4=VERTEX_POINT('v0',#1);
13#5=VERTEX_POINT('v1',#2);
14#6=VERTEX_POINT('v2',#3);
15#7=DIRECTION('',(1.0,0.0,0.0));
16#8=VECTOR('',#7,1.0E-09);
17#9=LINE('line_AB',#1,#8);
18#10=EDGE_CURVE('eAB',#4,#5,#9,.T.);
19#11=DIRECTION('',(-1.0,1.0,0.0));
20#12=VECTOR('',#11,1.0E-09);
21#13=LINE('line_BC',#2,#12);
22#14=EDGE_CURVE('eBC',#5,#6,#13,.T.);
23#15=DIRECTION('',(0.0,-1.0,0.0));
24#16=VECTOR('',#15,1.0E-09);
25#17=LINE('line_CA',#3,#16);
26#18=EDGE_CURVE('eCA',#6,#4,#17,.T.);
27#19=GEOMETRIC_CURVE_SET('cascade',(#10,#14,#18));
28#20=APPLICATION_CONTEXT('automotive_design');
29#21=PRODUCT_CONTEXT('',#20,'mechanical');
30#22=PRODUCT('N013','N013','',(#21));
31#23=PRODUCT_DEFINITION_FORMATION('','',#22);
32#24=PRODUCT_DEFINITION_CONTEXT('part definition',#20,'design');
33#25=PRODUCT_DEFINITION('','',#23,#24);
34#26=PRODUCT_DEFINITION_SHAPE('','',#25);
35#27=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
36#28=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
37#29=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
38#30=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-9),#27,'distance_accuracy_value','boolean_cascade_jitter');
39#31=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#30))GLOBAL_UNIT_ASSIGNED_CONTEXT((#27,#28,#29))REPRESENTATION_CONTEXT('ctx','3D'));
40#32=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#19),#31);
41#33=SHAPE_DEFINITION_REPRESENTATION(#26,#32);
42ENDSEC;
43END-ISO-10303-21;