blend.fillet_intersector green
- Layer
- 50
- Upstream lines
- 1,708
- Functions
- 12
- Rust module
blend::fillet_intersector
Status history
- todo 1,708 lines
- partial 1,708 lines
- green 1,708 lines
Source: crates/solidcore/src/blend/fillet_intersector.rs
Upstream: source/SMLib/inc/SmFilletIntersector.h, source/SMLib/src/SmFilletIntersector.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
GREEN (PR #688): PASS blend.fillet_intersector cases=1292 passed=1292 failed=0 deferred=0 max_rel_err=0e0; rv_next_clipped_step fixed (StepSolve dispatched to the base SmFilletSolver::PointOnPlaneSolve instead of the SmConstantRadiusAssistedFS override; plan/findings.md "fillet_intersector rv_next_clipped_step: fixed"), known-mismatch entry removed. Before: main CI e33985411 (2026-10-23): PARTIAL cases=1292 passed=1291 failed=0 deferred=0 known_mismatch=1. 12 fns; largest: SmFilletIntersector::ComputeNextPoint, SmFilletIntersector::FlushCurve, SmFilletIntersector::TestSpanAccuracy, sm_FlushCrv; cycle back-edges (call into later units; stub or co-port): blend.fillet_solver_p2(2), blend.fillet_solver_p4(2), blend.fillet_solver_p3(1); unit-SCC #22 (220 units); 317 upstream test entry points reach this unit; PARTIAL (PR #179; review integration in PR #208): difftest cases=1292 passed=973 failed=0 deferred=319 (blend.fillet_solver_p2 37, _p4 61, blend.fillet_standard_solver_p2 59, curve.crv_on_surf 162: SmCrvOnSurf over an SmPlane is a dispatch gap), max_rel_err 0; all 33 former standard-solver p1 deferrals now compare after wiring five ConstantRadiusAssistedFs virtuals to its available p1 methods. The Rust runner retains both mutated point records before status propagation; six native review4 fixtures cover delta surface/derivative writes and zero-chord partial output. Three Rust virtual-dispatch regressions cover query values, both-rail Jacobians and offsets retained on later errors; FlushCurve of 2+ points is not run in C++ (dereferences the unset m_pExecutive and NULL fillet geometry rails) and is covered by unit tests only Earlier re-verification after merging main (surface.offset_surface green): FilletSolverOps::rail_surface_evaluate_1st_derivatives (GetSurface(rail)->Evaluate1stDerivatives) now evaluates the ported SmOffsetSurface of ConstantRadiusAssistedFs (no UNPORTED(surface.offset_surface) left); cases=1213 passed=803 failed=0 deferred=410, --perturb 803/803. Earlier review fixes: FilletSolverOps::step_solve takes rdStep in/out and its flags as an out-param kept on failure; 73 review fixtures (fixtures/blend.fillet_intersector/review_cases.json); cases=1286 passed=875 failed=0 deferred=411 (_p3 120: rv_next_clipped_step pins the C++ rescaled step). PR #236 (blend.fillet_solver_p3): FilletSolverOps::step_solve is required; ConstantRadiusAssistedFs calls FilletSolver::step_solve with itself as the solver (its overrides kept) and copies the flags back on an error too; the 120 _p3 deferrals: 59 pass, 61 defer at blend.fillet_standard_solver_p1; cases=1286 passed=934 failed=0 deferred=352. PR #236 round 4: the constant-radius solver's FilletSolverOps overrides (GetJacobianSize, SetupOffsetValues, OffsetRadiiCanChange, LoadJacobian, GetType, GetSolverType = SM_FS_CONST_RADIUS, the class the shim builds) call blend.fillet_standard_solver_p1, and the runner writes the Delta/Values points back (filled by reference upstream); the 94 _standard_solver_p1 deferrals: 33 pass, 59 defer at _standard_solver_p2 (LoadInitialValues), 2 at _p4; cases=1286 passed=967 failed=0 deferred=319. Qualification after #236 in PR #208: PARTIAL blend.fillet_intersector cases=1292 passed=973 failed=0 deferred=319 max_rel_err=0e0 with_values=973 no_values=0 blocked_by=blend.fillet_solver_p2(37),blend.fillet_solver_p4(61),blend.fillet_standard_solver_p2(59),curve.crv_on_surf(162). PR #307 historical qualification, before the current-main refresh (not fresh merged-tree results): 1286 native cases, 1037 bit-identical passes, 0 failures, 249 deferred (blend.fillet_solver_p1 33, _p2 37, _p3 120, _p4 59); --perturb SENSITIVE 1037/1037. Concrete-Surface CrvOnSurf wires the former SmCrvOnSurf-over-SmPlane dispatch gap, adding 162 passing cases over the reviewed PR #179 baseline (875 passes, 411 deferred). Current unit status remains partial; the qualifications above describe their respective historical trees. UPDATE (batch/finish-3, blend.fillet_solver_p4 PR #212): ComputePointValues reaches FilletSolver::compute_point_values; DoPointIntersection dispatches to the overrides (FilletIntersector::do_point_intersection / FilletDispatch over intersect::surface_intersector::p4::IntersectorVirtuals).
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,292
- 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: blend.fillet_geom_p1 green blend.fillet_solver_p1 green curve.crv_on_surf green curve.hermite_curve green geom.extent1d green geom.extent2d green geom.vector2d green geom.vector3d green intersect.adv_surface_intersector green intersect.surface_intersector_p1 green surface.surface_p2 partial topology.edge green
Soft dependencies: curve.curve_p2 green curve.curve_p3 partial geom.geom_utility_p1 green geom.object green geom.solution_array green nurbs.b_spline_curve_p1 green surface.surface_p1 green topology.edgeuse_p1 green
Dependents: blend.fillet_solver_p4 green
Soft dependents: blend.fillet_geom_p3 green blend.fillet_standard_solver_p2 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmFilletIntersector::~SmFilletIntersector | SmFilletIntersector.h:47 | 1 | Drop (implicit) |
SmFilletIntersector::IsCurrFilletTouchBoundary | SmFilletIntersector.h:99 | 1 | [FilletIntersector::curr_fillet_geom], [FilletIntersector::curr_fillet_touch_boundary], [FilletIntersector::is_curr_fillet_touch_boundary], [FilletIntersector::self_intersect] |
SmFilletIntersector::SetSelfIntersect | SmFilletIntersector.h:101 | 1 | [FilletIntersector::set_self_intersect] |
SmFilletIntersector::SmFilletIntersector | SmFilletIntersector.cpp:21 | 29 | [FilletIntersector], [FilletIntersector::new] |
SmFilletIntersector::ComputePointValues | SmFilletIntersector.cpp:56 | 20 | [FilletIntersector::compute_point_values] |
SmFilletIntersector::ComputePointValuesDelta | SmFilletIntersector.cpp:87 | 48 | [FilletIntersector::compute_point_values_delta] |
SmFilletIntersector::TestSpanAccuracy | SmFilletIntersector.cpp:142 | 215 | [FilletIntersector::test_span_accuracy] |
SmFilletIntersector::ComputeNextPoint | SmFilletIntersector.cpp:367 | 644 | [FilletIntersector::compute_next_point] |
sm_FlushCrv | SmFilletIntersector.cpp:1022 | 51 | [flush_crv] |
sm_FindGuessMidTsectPnt | SmFilletIntersector.cpp:1081 | 39 | [find_guess_mid_tsect_pnt] |
SmFilletIntersector::FlushCurve | SmFilletIntersector.cpp:1165 | 622 | [FilletIntersector::flush_curve] |
SmFilletIntersector::EvaluateLawPoint | SmFilletIntersector.cpp:1794 | 37 | [FilletIntersector::evaluate_law_point] |
Module file-header table (19 rows)
| Rust | Upstream |
|---|---|
[FilletIntersector], [FilletIntersector::new] | SmFilletIntersector, its constructor |
Drop (implicit) | ~SmFilletIntersector |
[FilletIntersector::compute_point_values] | ComputePointValues |
[FilletIntersector::compute_point_values_delta] | ComputePointValuesDelta |
[FilletIntersector::test_span_accuracy] | TestSpanAccuracy |
[FilletIntersector::compute_next_point] | ComputeNextPoint |
[flush_crv] | sm_FlushCrv (static) |
[find_guess_mid_tsect_pnt] | sm_FindGuessMidTsectPnt (static) |
[FilletIntersector::flush_curve] | FlushCurve |
[FilletIntersector::evaluate_law_point] | EvaluateLawPoint |
[FilletIntersector::do_point_intersection], [FilletIntersector::do_law_intersection], [FilletDispatch] | DoPointIntersection, DoLawIntersection (inherited) run on *this |
[FilletIntersector::curr_fillet_geom], [FilletIntersector::curr_fillet_touch_boundary], [FilletIntersector::is_curr_fillet_touch_boundary], [FilletIntersector::self_intersect] | GetCurrFilletGeom, GetCurrFilletTouchBoundary, IsCurrFilletTouchBoundary, GetSelfIntersect |
[FilletIntersector::set_self_intersect] | SetSelfIntersect |
[FilletIntersector::is_kind_of], [TYPE] | IsKindOf, SmFilletIntersector_TYPE |
[FilletSolverOps], [StepSolve] (CO-PORTED interface) | the SmFilletSolver virtuals and members these methods call |
FilletSolverOps for ConstantRadiusAssistedFs | delegates to the SmFilletSolver base of unit blend.fillet_solver_p1: ComputeSurfaceValues, ComputeUVVectors, SetSurfacesToZeroOffset, ReloadSurfaceOffsets, SetStatus, GetLastFilletGeom, GetSelfIntersectionHandler, GetFilletSurfaceGenerator, m_pFSG->CreateSurface |
[FilStatus] (re-export of blend.fillet_geom_p1's) | SmFilStatus |
[HandlingAlgorithmType] (CO-PORTED) | SmHandlingAlgorithmType |
one_sided_tangents (private) | sm_OneSidedTangents (the fork's 6eecf04) |
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