solidcore

Units / curve

curve.parabola green

Layer
14
Upstream lines
441
Functions
22
Rust module
curve::parabola

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

Upstream: source/SMLib/inc/SmParabola.h, source/SMLib/src/SmParabola.cpp

Notes

difftest green: 3044 cases, 3044 pass bit-identical (max_rel_err 0), 0 deferred; GlobalPointSolveSTEP wired to SmCurve::GlobalPointSolve (curve.curve_p1) at merge (206 formerly deferred cases now pass); SmCurve::EvaluateSTEPPoint (curve.curve_p5) co-ported; surf_of_extrusion_p1/surf_of_revolution_p1 GetGenDirParamExtent stubs remain (no case reaches them); CurveKind::Parabola dispatches SmBSplineCurve methods on its base like Hyperbola; wired UNPORTED(curve.parabola) in curve.curve_p2 (ReadFromDB). 22 fns; largest: SmParabola::MakeNurb, SmParabola::ReadFromDB, SmParabola::Transform, SmParabola::EvaluateSTEP; cycle back-edges (call into later units; stub or co-port): curve.curve_p1(1), curve.curve_p5(1), surface.surf_of_extrusion_p1(1), surface.surf_of_revolution_p1(1); unit-SCC #22 (220 units); 319 upstream test entry points reach this unit

Difftest

Cases
3,044
Passed
3,044
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_p2 green geom.axis2_placement green geom.extent1d green geom.object partial geom.solution_array partial geom.tol green geom.vector3d green nurbs.b_spline_curve_p1 green nurbs.b_spline_curve_p2 green topology.database_io green

Soft dependencies: geom.geom_utility_p1 green

Dependents: none

Soft dependents: curve.curve_p5 partial

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
SmParabola::SmParabolaSmParabola.h:511[Parabola]
SmParabola::~SmParabolaSmParabola.h:571Drop (implicit)
SmParabola::GetSTEPIntervalSmParabola.h:861[Parabola::step_interval]
SmParabola::GetMaxAnalyticDomainSmParabola.h:871[Parabola::max_analytic_domain]
SmParabola::IsAnalyticSmParabola.h:1001[Parabola::is_analytic]
SmParabola::IsArcSmParabola.h:1021[Parabola::is_arc]
SmParabola::GetClassStringSmParabola.h:1431[Parabola::TYPE], [Parabola::type_code], [Parabola::type_string], [Parabola::class_string]
SmParabola::GetTypeSmParabola.h:1431[Parabola::TYPE], [Parabola::type_code], [Parabola::type_string], [Parabola::class_string]
SmParabola::GetTypeStringSmParabola.h:1431[Parabola::TYPE], [Parabola::type_code], [Parabola::type_string], [Parabola::class_string]
SmParabola::SmParabolaSmParabola.cpp:728[Parabola]
SmParabola::operator==SmParabola.cpp:8725[Parabola::approx_eq]
SmParabola::AdjustSTEPIntervalSmParabola.cpp:11826[Parabola::adjust_step_interval]
SmParabola::STEPInversionSmParabola.cpp:15242[Parabola::step_inversion]
SmParabola::CopySmParabola.cpp:20021Clone, [Parabola::copy]
SmParabola::EvaluateSTEPSmParabola.cpp:27144[Parabola::evaluate_step]
SmParabola::GlobalPointSolveSTEPSmParabola.cpp:33243[Parabola::global_point_solve_step]
SmParabola::IsBoundedSmParabola.cpp:4077[Parabola::is_bounded]
SmParabola::MakeNurbSmParabola.cpp:41972[Parabola::make_nurb]
SmParabola::ReverseParameterizationSmParabola.cpp:49820[Parabola::reverse_parameterization]
SmParabola::TransformSmParabola.cpp:52448[Parabola::transform]
SmParabola::ReadFromDBSmParabola.cpp:67172[Parabola::read_from_db]
SmParabola::IsKindOfSmParabola.cpp:7484[Parabola::is_kind_of]
Module file-header table (24 rows)
RustUpstream
[Parabola]SmParabola
[Parabola::new]SmParabola(crCenter, crXAxis, crYAxis, crAnalDomain, dFocalDist, lDimension, cpContext)
Clone, [Parabola::copy]copy constructor, Copy
Drop (implicit)~SmParabola
[Parabola::approx_eq]operator==
[Parabola::adjust_step_interval]AdjustSTEPInterval
[Parabola::create_canonical]CreateCanonical
[Parabola::canonical]GetCanonical
[Parabola::evaluate_step]EvaluateSTEP
evaluate_step_point (private)SmCurve::EvaluateSTEPPoint (co-ported)
[Parabola::global_point_solve_step]GlobalPointSolveSTEP
[Parabola::step_interval]GetSTEPInterval
[Parabola::max_analytic_domain]GetMaxAnalyticDomain
[Parabola::is_analytic]IsAnalytic
[Parabola::is_arc]IsArc
[Parabola::is_bounded]IsBounded
[Parabola::make_nurb]MakeNurb
[Parabola::reverse_parameterization]ReverseParameterization
[Parabola::step_inversion]STEPInversion
[Parabola::transform]Transform
[Parabola::read_from_db]ReadFromDB
[Parabola::TYPE], [Parabola::type_code], [Parabola::type_string], [Parabola::class_string]GetType, GetTypeString, GetClassString (SM_COMMON)
[Parabola::is_kind_of]IsKindOf
[CurveLocationType]SmCurveLocationType (SmCurveTypes.h)

Upstream tests reaching this unit

prog_test:my_test_extent3d, prog_test:my_test_vector2d, 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