solidcore

Units / curve

curve.curve_p7 green

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

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

Upstream: source/SMLib/src/SmCurve.cpp

Notes

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

Difftest

Cases
3,027
Passed
3,027
Deferred
0
Failed
0
Both errored
0
Max rel. error
0.0
Tolerance
1e-09 rel.
Seeds
16

Blocked by

Nothing: no deferred cases.

Report JSON (per-case results)

Dependencies

Depends on: curve.curve_cache green curve.curve_p2 green curve.curve_p3 green curve.curve_p4 partial curve.curve_p6 green geom.a_object partial geom.extent1d green geom.extent3d green geom.geom_utility_p1 green geom.global_solver partial geom.object partial geom.pseudo_box green geom.solution_array partial geom.vector3d green

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

Dependents: curve.composite_curve_p2 green curve.curve_p8 green curve.curve_p9 green

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

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
SmCCIGlobalSolver::LocalSolveSmCurve.cpp:48811185[CciGlobalSolver::local_solve_branch]
SmCurve::GlobalPropertyAnalysisSmCurve.cpp:12892481[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