solidcore

Units / curve

curve.curve_p9 green

Layer
23
Upstream lines
1,783
Functions
8
Rust module
curve::curve::p9

Status history

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

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

Upstream: source/SMLib/src/SmCurve.cpp

Port-plan notes

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

GREEN: difftest 3093 cases (93 fixture + 3000 generated), 0 deferred, max_rel_err 0 (bit-identical); 30,093-case run clean. Shim covers SmEllipse (kind 3) as well as B-spline, Hermite and line. Wired SmCCGlobalSolver::LocalSolve stub in curve.curve_p2 (CcGlobalSolver now carries its curves and kernel). 8 fns; largest: SmCCGlobalSolver::LocalSolve, SmCurve::GlobalCurveSolve, sm_SolveMinSignedAngle, SmCurve::CalculateTightBoundingBox; 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,126
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_p5 partial curve.curve_p6 green curve.curve_p7 green curve.curve_p8 green geom.a_object green geom.extent1d green geom.extent3d green geom.geom_utility_p1 green geom.geom_utility_p2 green geom.global_solver green geom.object green geom.pseudo_box green geom.solution_array green geom.vector3d green

Soft dependencies: curve.line green geom.tol green geom.tree green nurbs.b_spline_curve_p1 green

Dependents: intersect.api_intersectors partial

Soft dependents: blend.fillet_geom_p5 green blend.hcr green intersect.surface_drop_curve green intersect.topology_solver_p1 green primitive.primitive_creation_p2 green query.edge green surface.b_spline_volume_n_lib green surface.bend_volume green surface.surf_of_extrusion_p1 green topology.trimming_tools green

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
SmCurve::GlobalCurveSelfIntersectSmCurve.cpp:818711[Curve::global_curve_self_intersect]
SmCCGlobalSolver::LocalSolveSmCurve.cpp:85201087[CcGlobalSolver::local_solve_branch]
sm_SolveMinSignedAngleSmCurve.cpp:9615184solve_min_signed_angle (private)
SmCurve::CalculateTightBoundingBoxSmCurve.cpp:1024867[Curve::calculate_tight_bounding_box]
SmCurve::CalculateTightPseudoBoxSmCurve.cpp:1032249[Curve::calculate_tight_pseudo_box], [Curve::calculate_tight_pseudo_box_into]
SmCurve::GlobalCurveSolveSmCurve.cpp:10540299[Curve::global_curve_solve], [CurveSolveOptions]
SmCurve::IsOnPlaneSmCurve.cpp:1414441[Curve::is_on_plane], [is_on_plane_base]
SmCurve::IsOnPositiveSideOfPlanesSmCurve.cpp:1432145[Curve::is_on_positive_side_of_planes]
Module file-header table (8 rows)
RustUpstream
[CcGlobalSolver::local_solve_branch]SmCCGlobalSolver::LocalSolve
solve_min_signed_angle (private)sm_SolveMinSignedAngle (static)
[Curve::global_curve_solve], [CurveSolveOptions]SmCurve::GlobalCurveSolve
[Curve::global_curve_self_intersect]SmCurve::GlobalCurveSelfIntersect
[Curve::calculate_tight_bounding_box]CalculateTightBoundingBox (virtual: SmCurve, the SmLine override)
[Curve::calculate_tight_pseudo_box], [Curve::calculate_tight_pseudo_box_into]SmCurve::CalculateTightPseudoBox
[Curve::is_on_plane], [is_on_plane_base]IsOnPlane (virtual: SmCurve, the SmBSplineCurve override)
[Curve::is_on_positive_side_of_planes]SmCurve::IsOnPositiveSideOfPlanes

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