solidcore

Units / curve

curve.curve_p7 green

Layer
19
Upstream lines
1,666
Functions
2
Rust module
curve::curve::p7

Status history

Oct 12Nov 25
  1. todo 1,666 lines
  2. green 1,666 lines

Source: crates/solidcore/src/curve/curve/p7.rs

Upstream: source/SMLib/src/SmCurve.cpp

Port-plan notes

These notes preserve historical port measurements and limitations, not current CI results.

PR #408: generated circle-derived curvature-extrema inputs stretch homogeneous X by exactly 2 without extra RNG draws; retain original gen1409 ordered native parity and analytic ellipse controls outside the report corpus. Latest integration validation is recorded in the PR; no solver or tolerance change. main CI e33985411 (2026-10-23): PASS curve.curve_p7 cases=3066 passed=3066 failed=0 deferred=0. GREEN (promoted by curve.curve_p5: 3027 cases, 0 deferred after its stubs were wired); PARTIAL: difftest 3027 cases (27 fixture: SM_API_test TestSmCreateRectangle / TestSmCreateRegularPolygon edge pairs, my_test_reversed_line_join segments, arc plane intersection / classification with comb, edge cases: coincident, tolerance-limit gaps, degenerate Hermite, self-intersecting loop, projected / perspective, sub-interval + 3000 generated: whole SolveIt and single leaf-pair LocalSolve for intersect, intersection test and the three projected intersections, GlobalPropertyAnalysis over all 29 properties with/without comb), 1716 pass bit-identical (max_rel_err 0), 1311 deferred (curve.curve_p5 1311: LocalCurveIntersect -> SmCCIntersectENFO::Evaluate, LocalPropertyAnalysis); --perturb SENSITIVE; co-ported sm_FindAdditionalCcTangentGuess (curve.curve_p5); wired UNPORTED(curve.curve_p7) in curve.curve_p2 (CciGlobalSolver::local_solve, solver now carries curves + kernel) and nurbs.b_spline_curve_p3 (AssertValid GlobalPropertyAnalysis: its 116 deferred moved to curve.curve_p5); no unit promoted. 2 fns; largest: SmCCIGlobalSolver::LocalSolve, SmCurve::GlobalPropertyAnalysis; cycle back-edges (call into later units; stub or co-port): curve.curve_p5(2); 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,067
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_cache green curve.curve_p2 green curve.curve_p3 partial curve.curve_p4 green curve.curve_p6 green geom.a_object green geom.extent1d green geom.extent3d green geom.geom_utility_p1 green geom.global_solver green geom.object green geom.pseudo_box green geom.solution_array green geom.vector3d green

Soft dependencies: curve.projected_curve green geom.axis2_placement green geom.tol green geom.tree green

Dependents: curve.composite_curve_p2 green curve.curve_p8 green curve.curve_p9 green topology.brep_cutting partial

Soft dependents: intersect.surface_silhouette green primitive.primitive_creation_p3 green surface.surf_of_extrusion_p2 green surface.surf_of_revolution_p1 green surface.surface_p1 green surface.surface_p2 partial sweep.trans_sweep_geometry green

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
SmCCIGlobalSolver::LocalSolveSmCurve.cpp:48851185[CciGlobalSolver::local_solve_branch]
SmCurve::GlobalPropertyAnalysisSmCurve.cpp:12896481[Curve::global_property_analysis], [PropertyAnalysis], [PropertyAnalysisOptions]
Module file-header table (2 rows)
RustUpstream
[CciGlobalSolver::local_solve_branch]SmCCIGlobalSolver::LocalSolve
[Curve::global_property_analysis], [PropertyAnalysis], [PropertyAnalysisOptions]SmCurve::GlobalPropertyAnalysis

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