solidcore

Units / primitive

primitive.api_curve_ops green

Layer
42
Upstream lines
190
Functions
0
Rust module
primitive::api_curve_ops

Status history

Oct 12Nov 25
  1. green 190 lines

Source: crates/solidcore/src/primitive/api_curve_ops.rs

Upstream: source/SM_API/src/SmApiCurves.cpp

Port-plan notes

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

GREEN: difftest 638 cases, 638 pass, 0 failed, 0 deferred (local integration run on bb06099f1). NOT IN callgraph/units.json: wrapper-only SM_API functions of SmApiCurves.cpp (1.0.1 parity batch 3, curves): SmApiCreateCurveInterpPoints, SmApiOffsetCurve, SmApiEvaluateContinuity, SmApiMakeCurvesCompatible, SmApiOrderCurves; every callee is ported (CreateInterpolatingCurve, ComputeCrvsNormal, CreateSimpleOffset of SmBSplineCurve/SmLine/SmEllipse, SmCurve::EvaluateContinuity, MakeCurvesCompatible, OrderCurvesIntoLoops). Input curves are made by the SM_API constructors of primitive.api_curves on both sides. Status set by the gate.

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
638
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 curve.curve_p3 partial nurbs.b_spline_curve_n_lib green nurbs.b_spline_curve_p2 green primitive.api_curves green topology.trimming_tools green

Soft dependencies: curve.ellipse_p1 green curve.line green geom.tol green

Dependents: none

Soft dependents: none

Upstream functions

No upstream functions listed in harness/callgraph/units.json.

Module file-header table (5 rows)
RustUpstream
[create_curve_interp_points]SmApiCreateCurveInterpPoints
[offset_curve]SmApiOffsetCurve
[evaluate_continuity]SmApiEvaluateContinuity
[make_curves_compatible]SmApiMakeCurvesCompatible
[order_curves]SmApiOrderCurves

Upstream tests reaching this unit

SM_API_test:TestSmOffsetCurve, SM_API_test:TestSmMakeCurvesCompatible, SM_API_test:TestSmOrderCurves, SM_API_test:TestSmErrorCodes