Twi086 — Edge geometry is a line through two coincident points (zero-length line edge)

§12.3b (sub-class: zero-length edge)

P1 — silent data loss

topology

Sources

Sender

deduced — OCCT uncovered-class sweep

Description

An `EDGE_CURVE` references a `LINE` whose two declared bounding parameters yield identical 3D points. The "edge" has zero length even though the curve is non-degenerate by type. Bug-reporter language: "zero-length edge", "line edge collapses to a point", "degenerate line edge".

Reproducer recipe

`EDGE_CURVE` whose `edge_start` and `edge_end` both reference `#V` at (0,0,0); `edge_geometry` is a `LINE` from (0,0,0) along direction (1,0,0); both edge parameters declared as `0.0`.

Expected kernel behavior

Promote the edge to degenerate, drop it from incident wires, or reject.

Notes

Synonyms: "tiny edge", "edge with start = end", "collapsed line edge". **See also**: BOPAlgo's `TooSmallEdge` (already covered).

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/* Twi086: GEOMETRIC_CURVE_SET containing EDGE_LOOP 'collapsed_line_edge'; exactly ONE VERTEX_POINT at (0,0,0); EDGE_CURVE: edge_start = edge_end = same VERTEX_POINT; edge_geometry is a LINE from (0,0,0) along (1,0,0) — non-degenerate by type; both boundary parameters declared as 0.0 => zero length interval; BRepLib_MakeEdge LineThroughIdenticPoints triggered; collapsed_line_edge defect tag; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; EDGE_CURVE IS wired into EDGE_LOOP; never orphaned; entity refs in EDGE_CURVE: #11,#11,#22 (start=end=vertex, geom=line) */
3HEADER;
4FILE_DESCRIPTION(('Twi086'),'2;1');
5FILE_NAME('Twi086.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
11#2=VERTEX_POINT('',#1);
12#3=CARTESIAN_POINT('',(0.0,0.0,0.0));
13#4=DIRECTION('',(1.0,0.0,0.0));
14#5=VECTOR('',#4,1.0);
15#6=LINE('',#3,#5);
16#7=EDGE_CURVE('',#2,#2,#6,.T.);
17#8=ORIENTED_EDGE('',*,*,#7,.T.);
18#9=EDGE_LOOP('collapsed_line_edge',(#8));
19#10=GEOMETRIC_CURVE_SET('',(#9));
20#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
21#9051=PRODUCT('Twi086','Twi086','',(#9050));
22#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
23#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
24#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
25#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
26#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
27#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
28#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
29#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
30#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
31#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#10),#9060);
32#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
33ENDSEC;
34END-ISO-10303-21;