curve.curve_p8 green
- Layer
- 20
- Upstream lines
- 1,670
- Functions
- 1
- Rust module
curve::curve::p8
Status history
- todo 1,670 lines
- green 1,670 lines
Source: crates/solidcore/src/curve/curve/p8.rs
Upstream: source/SMLib/src/SmCurve.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
main CI e33985411 (2026-10-23): PASS curve.curve_p8 cases=3068 passed=3068 failed=0 deferred=0. GREEN (promoted by curve.curve_p5: 3058 cases, 0 deferred after its stubs were wired); PARTIAL: difftest 3058 cases (58 fixture: SM_API_test TestSmCreateRectangle / TestSmCreateRegularPolygon edge pairs and my_test_reversed_line_join line pairs (with and without the coincidence check), edge cases: line/line and B-spline line crossings, overlaps, self intersections, polyline vertex touch, parabola tangency, parallel gaps at the tolerance limit, coincident cubics, degenerate Hermite, looping self intersection, disjoint boxes + 3000 generated: crossings, tangent lines, coincident partners, self intersections, closed and looping curves), 1968 pass bit-identical (max_rel_err 0), 1090 deferred (curve.curve_p5 1090: SmCCIntersectENFO::Evaluate, sm_IsPointSolutionAcrossClosedSeamBoundary, SmCurve::IsArc); --perturb SENSITIVE; wired UNPORTED(curve.curve_p8) in nurbs.b_spline_curve_p3 (TrimGap); 1 fns; largest: SmCurve::GlobalCurveIntersect; unit-SCC #22 (220 units); 317 upstream test entry points reach this unit
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
- 3,069
- 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_p1 green curve.curve_p2 green curve.curve_p4 green curve.curve_p6 green curve.curve_p7 green geom.a_object green geom.extent1d green geom.extent3d green geom.object green geom.solution_array green geom.tol green geom.vector3d green
Soft dependencies: curve.curve_cache green geom.global_solver green geom.tree green
Dependents: curve.composite_curve_p1 green curve.composite_curve_p2 green curve.curve_p9 green intersect.api_intersectors partial
Soft dependents: blend.fillet_executive_p2 green blend.fillet_geom_p4 partial boolean.topology_intersector_p1 green intersect.curve_class_p8 green intersect.curve_class_p9 green intersect.surface_drop_curve green intersect.surface_intersector_p2 partial intersect.topology_solver_p1 green offset.offset_geometry_creation partial primitive.primitive_creation_p1 green surface.plane_p1 partial surface.plane_p2 green surface.surf_of_extrusion_p1 green surface.surf_of_revolution_p2 green surface.surf_of_revolution_p3 green surface.surface_p11 green surface.surface_p2 partial surface.surface_p8 green sweep.rotational_sweep_geometry green topology.brep_p2 green topology.brep_p8 green topology.proto_topology_p3 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmCurve::GlobalCurveIntersect | SmCurve.cpp:6178 | 1670 | [Curve::global_curve_intersect], [CurveIntersectOptions] |
Module file-header table (2 rows)
| Rust | Upstream |
|---|---|
[Curve::global_curve_intersect], [CurveIntersectOptions] | SmCurve::GlobalCurveIntersect |
[curves_meet_at_most_once], [touch_is_alone] | not upstream (WR-647) |
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