intersect.curve_class_p7 green
- Layer
- 32
- Upstream lines
- 2,248
- Functions
- 14
- Rust module
intersect::curve_class::p7
Status history
- todo 2,248 lines
- partial 2,248 lines
- green 2,248 lines
Source: crates/solidcore/src/intersect/curve_class/p7.rs
Upstream: source/SMLib/src/SmCurveClass.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
GREEN (PR #680): set_do_filleting_geometry_mut with ClassGeometryMut applies vertex/edge fillet geometry directly to the mutable B-rep, resolving the final deferred case rectangle_crossing_fillet; difftest 1516 cases: 1516 passed, 0 failed, 0 deferred, max_rel_err 0e0. PR #639 (2026-10-23): ClassifyFaceInterval gains classify_face_interval_mut (ClassGeometryMut); the runner classifies face intervals mutably on its pool B-rep; difftest 1516 cases, 1515 pass, 0 failed, 1 deferred (unchanged). PR #295 (stand-in vertex/edge/face objects as B-rep records, BareTopology, used when the case has no real one-face B-rep; merged with main 215f690e1 / #347): 1516 cases, 1474 pass, 0 fail, 42 deferred (topology.edge 34, topology.face_p2 4, topology.vertex 4); main 1327/189; --perturb 1474/1474. Topology hooks wired (branch wire/point-class-topology): difftest 1516 cases, 1327 passed, 0 failed, 189 deferred (topology.edge 106, topology.vertex 52, topology.face_p2 31: only stand-in objects whose adapter has no topology_entity); SmEdge/SmVertex members (GetCurve, GetInterval, IsConnectedTo, GetPoint, zone tol) now resolve through ClassGeometry::topology_entity; point_classifies_connected_to/find_vertex_objects/find_edge_objects/is_crossed_by_edge take the geometry; harness scripts may carry a one-face B-rep (sc_one_face_brep on the C++ side, rust_brep + add_down_side on the Rust side) whose face/loop/edge/vertex/edgeuse handles join the object pool; fix: TestForPartialCoincidentEdges accepted only BSpline edge curves, now Line/conics via their B-spline base (upstream slices to SmBSplineCurve); still UNPORTED: SetPoint/SetCurve, SmFace queries (topology.face_p4, query.face_p1). Before: PR #65: partial, difftest 1516 cases (1077 passed, 0 failed, 439 deferred: topology.edge 226, topology.vertex 160, topology.face_p2 53), --perturb SENSITIVE 1077/1077; topology members (SmEdge/SmVertex) and SmFace queries (topology.face_p4, query.face_p1, query.face_p2) stay UNPORTED stubs because the opaque handle O cannot reach a Brep; SmCrvOnSurf over a non-B-spline surface is UNPORTED(curve.crv_on_surf); wired back-edges: intersect.curve_class_p3 (GetPointClassByIndex, GetPointClassMateByIndex, AreCoincidentMaybe; its private IsDegenerate co-port is reused here) and query.face_p2 (ClassifyFaceInterval, CurveOnClassify now takes ClassGeometry); 14 fns; largest: SmCurveClassification::TestForPartialCoincidentEdges, SmCurveClassification::ClassifyFaceInterval, sm_SetDoFilletingGeometry, SmCurveClassification::AreCoincidentMaybe; cycle back-edges (call into later units; stub or co-port): topology.edge(9), topology.vertex(3), query.face_p1(2), query.face_p2(1), topology.face_p4(1); unit-SCC #22 (220 units); 317 upstream test entry points reach this unit Owner zone-tol cache (surface/owner-zone-tol, merged main db47090f): 1671 cases, 1654 pass, 0 fail, 17 deferred (topology.face_p2 17).
Goldens
This is committed inventory, not a runtime result or a correctness proof. A golden records what solidcore produced when blessed. Current results require the canonical CI gate, not these counts.
- Golden records
- 1,673
- Stored error outcomes
- 0
- Stored deferrals
- 0
- Stored harness rejections
- 0
- Known-failure entries
- 0
Metadata counts describe fields in the stored records; they are not passes or live failures.
Source at f9704ee3b:
golden JSONL ·
known-failure list.
Dependencies
Depends on: curve.curve_p2 green geom.extent1d green geom.object green geom.solution_array green geom.tol green geom.vector3d green intersect.curve_class_p1 green intersect.point_class green
Soft dependencies: curve.crv_on_surf green curve.curve_p4 green curve.curve_p6 green geom.vector2d green nurbs.b_spline_curve_n_lib green nurbs.b_spline_curve_p1 green
Dependents: intersect.curve_class_p2 green intersect.curve_class_p3 green intersect.curve_class_p4 green intersect.curve_class_p5 green intersect.curve_class_p6 green topology.face_p4 green
Soft dependents: blend.hcr green boolean.topology_intersector_p3 green heal.heal_data_p3 green query.face_p2 green query.face_p3 green topology.brep_p2 green topology.face_p1 green topology.proto_topology_p2 green topology.proto_topology_p3 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmCurveClassification::AreCoincidentMaybe | SmCurveClass.cpp:6679 | 362 | [CurveClassification::are_coincident_maybe], [CoincidentMaybe] |
SmCurveClassification::GetPointClassByIndex | SmCurveClass.cpp:7233 | 23 | [CurveClassification::point_class_by_index], [CurveClassification::point_class_by_index_mut] |
SmCurveClassification::GetPointClassMateByIndex | SmCurveClass.cpp:7270 | 27 | [CurveClassification::point_class_mate_by_index] |
SmCurveClassification::CollapseInterval | SmCurveClass.cpp:8415 | 81 | [CurveClassification::collapse_interval] |
SmCurveClassification::GetPointClassifiesConnectedTo | SmCurveClass.cpp:11187 | 68 | [CurveClassification::point_classifies_connected_to] |
SmCurveClassification::FindVertexObjects | SmCurveClass.cpp:11286 | 40 | [CurveClassification::find_vertex_objects], [VertexObjects] |
SmCurveClassification::FindEdgeObjects | SmCurveClass.cpp:13294 | 56 | [CurveClassification::find_edge_objects] |
SmCurveClassification::IsCrossedByEdge | SmCurveClass.cpp:13357 | 111 | [CurveClassification::is_crossed_by_edge] |
SmCurveClassification::IsCrossingFace | SmCurveClass.cpp:13480 | 35 | [CurveClassification::is_crossing_face] |
SmCurveClassification::HasNearMisses | SmCurveClass.cpp:13534 | 67 | [CurveClassification::has_near_misses] |
sm_SetDoFilletingGeometry | SmCurveClass.cpp:16970 | 382 | [set_do_filleting_geometry], [set_do_filleting_geometry_mut] |
SmCurveClassification::ClassifyFaceInterval | SmCurveClass.cpp:18903 | 481 | [CurveClassification::classify_face_interval], [CurveClassification::classify_face_interval_mut] |
SmCurveClassification::TestForPartialCoincidentEdges | SmCurveClass.cpp:19418 | 513 | [CurveClassification::test_for_partial_coincident_edges], [PartialCoincidence] |
SmCurveInterval::GetCurve | SmCurveClass.cpp:20444 | 2 | [CurveClassification::curve] of the owner |
Module file-header table (16 rows)
| Rust | Upstream |
|---|---|
[CurveClassification::point_class_by_index], [CurveClassification::point_class_by_index_mut] | GetPointClassByIndex |
[CurveClassification::point_class_mate_by_index] | GetPointClassMateByIndex |
[CurveClassification::collapse_interval] | CollapseInterval |
[CurveClassification::point_classifies_connected_to] | GetPointClassifiesConnectedTo |
[CurveClassification::find_vertex_objects], [VertexObjects] | FindVertexObjects |
[CurveClassification::find_edge_objects] | FindEdgeObjects |
[CurveClassification::is_crossed_by_edge] | IsCrossedByEdge |
[CurveClassification::is_crossing_face] | IsCrossingFace |
[CurveClassification::has_near_misses] | HasNearMisses |
[CurveClassification::are_coincident_maybe], [CoincidentMaybe] | AreCoincidentMaybe |
[CurveClassification::classify_face_interval], [CurveClassification::classify_face_interval_mut] | ClassifyFaceInterval |
[CurveClassification::test_for_partial_coincident_edges], [PartialCoincidence] | TestForPartialCoincidentEdges |
[set_do_filleting_geometry], [set_do_filleting_geometry_mut] | sm_SetDoFilletingGeometry |
[CurveClassification::curve] of the owner | SmCurveInterval::GetCurve |
[curve_is_degenerate] (intersect.curve_class_p3) | SmTol::IsDegenerate(const SmCurve*, SmExtent1d, SmXSectTol3d*) (CO-PORTED from geom.tol, with the tolerance given) |
tol_is_closed_curve (private) | SmTol::IsClosed(const SmObject*, SmXSectTol3d*) for a curve (CO-PORTED from geom.tol, with the tolerance given) |
Upstream tests reaching this unit
prog_test:my_test_surface_closest_point, prog_test:my_test_drop_point, prog_test:my_test_matrix, prog_test:my_test_reversed_line_join, SM_API_test:TestSmCreateRectangle, SM_API_test:TestSmCreateRegularPolygon