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 function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmParabola::SmParabola | SmParabola.h:51 | 1 | [Parabola] |
SmParabola::~SmParabola | SmParabola.h:57 | 1 | Drop (implicit) |
SmParabola::GetSTEPInterval | SmParabola.h:86 | 1 | [Parabola::step_interval] |
SmParabola::GetMaxAnalyticDomain | SmParabola.h:87 | 1 | [Parabola::max_analytic_domain] |
SmParabola::IsAnalytic | SmParabola.h:100 | 1 | [Parabola::is_analytic] |
SmParabola::IsArc | SmParabola.h:102 | 1 | [Parabola::is_arc] |
SmParabola::GetClassString | SmParabola.h:143 | 1 | [Parabola::TYPE], [Parabola::type_code], [Parabola::type_string], [Parabola::class_string] |
SmParabola::GetType | SmParabola.h:143 | 1 | [Parabola::TYPE], [Parabola::type_code], [Parabola::type_string], [Parabola::class_string] |
SmParabola::GetTypeString | SmParabola.h:143 | 1 | [Parabola::TYPE], [Parabola::type_code], [Parabola::type_string], [Parabola::class_string] |
SmParabola::SmParabola | SmParabola.cpp:72 | 8 | [Parabola] |
SmParabola::operator== | SmParabola.cpp:87 | 25 | [Parabola::approx_eq] |
SmParabola::AdjustSTEPInterval | SmParabola.cpp:118 | 26 | [Parabola::adjust_step_interval] |
SmParabola::STEPInversion | SmParabola.cpp:152 | 42 | [Parabola::step_inversion] |
SmParabola::Copy | SmParabola.cpp:200 | 21 | Clone, [Parabola::copy] |
SmParabola::EvaluateSTEP | SmParabola.cpp:271 | 44 | [Parabola::evaluate_step] |
SmParabola::GlobalPointSolveSTEP | SmParabola.cpp:332 | 43 | [Parabola::global_point_solve_step] |
SmParabola::IsBounded | SmParabola.cpp:407 | 7 | [Parabola::is_bounded] |
SmParabola::MakeNurb | SmParabola.cpp:419 | 72 | [Parabola::make_nurb] |
SmParabola::ReverseParameterization | SmParabola.cpp:498 | 20 | [Parabola::reverse_parameterization] |
SmParabola::Transform | SmParabola.cpp:524 | 48 | [Parabola::transform] |
SmParabola::ReadFromDB | SmParabola.cpp:671 | 72 | [Parabola::read_from_db] |
SmParabola::IsKindOf | SmParabola.cpp:748 | 4 | [Parabola::is_kind_of] |
Module file-header table (24 rows)
| Rust | Upstream |
|---|---|
[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