surface.surface_p1 green
- Layer
- 29
- Upstream lines
- 2,458
- Functions
- 75
- Rust module
surface::surface::p1
Status history
- todo 2,458 lines
- partial 2,458 lines
- green 2,458 lines
Source: crates/solidcore/src/surface/surface/p1.rs
Upstream: source/SMLib/inc/SmSTEPSurface.h, source/SMLib/inc/SmSurface.h, source/SMLib/src/SmSTEPSurface.cpp, source/SMLib/src/SmSurface.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
2026-11-24 (#20239, PR #21498): GetDomainWithContinuity compares the start point, not the direction, with the first and last knot (WR-20239 fixed in the port, addendum WR-20239--addendum-2026-11-24-fixed.md): off the domain the answer is the span next to the point; the 30 DomCont cases known failing under #20239 have golden lines again, each derived from the knots by domcont_answers_are_the_span_next_to_the_start_point (replacing known_failing_domcont_cases_are_shown_wrong); LiftCurve (p11) is unchanged and adds no refusal: an off-domain segment is lifted onto the surface's own evaluation whatever the speed of its parameterisation (ExtendTrimEdges refuses a UV curve off the extended domain before lifting it, #21744). 2026-11-20 (#20054): the surface cache history model is gone (CacheTreeState, continuity_surface_cache); GetDomainWithContinuity reads the surface's own continuities (Surface::continuities, a memo on the surface) and no cache, the same under every history; a curve-bounded surface answers it for its basis (Surface::geometry; exact, since the kind is its basis over the same parameters; its GetKnots, continuities and tree still fail as on main). DomCont keeps a history input of real calls (a cache requested during a Boolean operation, then GetTree or not, the call during or after it), and every domhistNNNN expectation equals the answer without history (a standing harness check). 0052, 0074 and 0075: their history-2 GetTree of a curve-bounded surface fails (1001, as on main; #20163), so the record is the marker -1 followed by the query's own record (any other failed history step is a harness error). 8 cases blessed (0078 and 0083, interior-knot C-spans; 0017, 0070, 0074, 0075 and gen0471 on curve-bounded surfaces with on-domain start points, each equal to the fresh bare basis's answer; 0052, curve-bounded, off-domain, equal to the fresh bare basis, history-free and not shown wrong); 30 DomCont cases (12 this change moves, 18 unchanged from main) are known failing under #20239 with no golden line, each shown wrong by its answer changing with the direction's length or by a zero-width box at status 0 (the test known_failing_domcont_cases_are_shown_wrong); a box that misses an off-domain start point is not by itself counted wrong (plan/findings/surface.surface_p1--surface-cache-history-modelled-issue-568-follows-surface--addendum-2026-11-20-history-removed.md). 2026-10-26 (wire/small-unported-sites): SmTol::MapTo2d same-surface SmCrvOnSurf branch wired (map_to_2d_on_curve; surface identity by std::ptr::eq); no difftest case reaches it (unit test only). MISSING BRANCH exposed by boolean.merge_p3 (PR #245): base-only SmSurface copy construction (new SmSurface(*derived), without virtual Copy) cannot be represented by SurfaceKind; boolean::merge::p3::copy_base_surface defers precisely this constructor branch as UNPORTED(surface.surface_p1). PARTIAL (PR #43): difftest 806 cases (6 fixture + 800 generated), 764 pass bit-identical, 42 deferred (surface.surface_p6 17: CalculateContinuities in every surface cache build (Cache, BBox of curve-bounded/STEP surfaces, DomCont of non-STEP surfaces); curve.iso_curve 13: ApproximateSize of non-B-spline kinds; surface.surface_p5 12: IsSingularity), --perturb 764/764; SmSTEPSurface ported here; a polar box of a curve-bounded or STEP surface is refused (upstream recurses without bound, UB-84); the Evaluate1stDerivatives / Evaluate2ndDerivatives / EvaluateDirectionalDerivs co-ports of surface.surface_p7 (PR #24) moved here (surface::surface::p1, generic over SurfaceEvaluate); shim guards GetDomainWithContinuity without a surface cache (upstream reads it through NULL) with SM_ERR. No UNPORTED(surface.surface_p1) stubs remain; the call sites this unit cannot wire are DISPATCH GAPs whose errors name the real blocker: grid expand_hierarchy (the element holds a handle and no store turns it into the Surface; smsurf_GetSurfaceCache, surface.surface_p2), the p7 SP/SS solver patch reads and sm_IsNodeValid (a Tree does not reach its owning cache; surface.surface_cache_p1), ApproximateSize and the iso_curve/crv_on_surf readers of non-B-spline surfaces (the curves hold an SmBSplineSurface; curve.iso_curve / curve.crv_on_surf); a polar box of a curve-bounded/STEP surface is refused (UB-84). CO-PORTED in surface.surf_of_revolution_p3 (PR #29): SmSurface::ConvertDomainFromNURBSToSTEP for surfaces of revolution; on merging with this unit both now share surface::surface::p1::convert_domain_from_nurbs_to_step_with (SurfOfRevolution::convert_domain_from_nurbs_to_step and the Revolved trait call it). CO-PORTED in intersect.surface_intersector_p1 (PR #33): SmSurface::EvaluateDirectionalDerivs, SmSurface::Evaluate1stDerivatives (one-line Evaluate wrappers) -> private helpers in intersect::surface_intersector::p1. CO-PORTED in surface.surface_p9 (PR #6): SmCSIGlobalSolver members the LocalSolve body reads (the curve being intersected, the surface cache holding the node patches, and the kernel) -> optional borrowed fields curve, surface_cache, kernel on surface::surface::p1::CsiGlobalSolver (the constructor is unchanged; LocalSolve lives in surface::surface::p9). 75 fns; largest: SmSurface::CacheMakeOrValidate, SmSurface::IsDegenerateCurve, SmSurface::CreateSilhouetteCurves, SmSurface::IsDegeneratePoint; cycle back-edges (call into later units; stub or co-port): surface.offset_surface(3), mass.integrator(2), surface.srf_in_volume(2), intersect.surface_silhouette(1), intersect.surface_tracer(1), topology.face_p4(1); unit-SCC #22 (220 units); 320 upstream test entry points reach this unit [surface.surface_p6 wired (PR #92): 806 cases, 781 pass, 25 deferred (curve.iso_curve 13, surface.surface_p5 12)] Re-run with surface.surface_p5's back-edges wired (PR #50): cases=806 passed=764 failed=0 deferred=42 max_rel_err=0e0 blocked_by=curve.iso_curve(13),surface.surface_p3(12),surface.surface_p6(17). Re-run (PR #52, after merging surface_p4/#49 and surface_p5/#50): 806 cases, 781 pass, 25 deferred (curve.iso_curve 25). surface.surface_p11 (PR #120, after merging main with surface.surface_p3): CsGlobalSolver gained the borrowed curve and surface cache its leaf solve reads, and BranchMayContainAnswers uses the cache's polar boxes when it has them: cases=806 passed=793 failed=0 deferred=13 (curve.iso_curve 13). CreateSilhouetteCurves ported in full (DoTrace through SmSurfaceSilhouette, the parallel-projection split at SM_CP_PARALLEL_TO_VECTOR points; the SM_AI_COLOR copy is the caller's), UNPORTED(intersect.surface_tracer) stub wired; new Sil op: 34 fixtures (upstream_sil_adv.json, prog_test my_test_sil_adv faces via harness/fixturegen/sil_adv.py) + 64 generated (seed stream surface.surface_p1:sil): cases=904 passed=854 failed=0 deferred=50 max_rel_err=0e0 blocked_by=curve.iso_curve(13),intersect.surface_drop_lib_p3(11),surface.surface_cache_p1(26); Sil 27/34 fixtures and 34/64 generated pass, the rest defer (SmSurface::DropCurve, SmPlane::CreateIsoParametricCurve); --perturb SENSITIVE 854/854; --fuzz 300 clean. Lazy surface cache trees (#568, PR #571): Surface carries a cache slot (CacheTreeState) shared by its evaluation copies; make_trim_srf_cache* honour and record it, GetDomainWithContinuity reads its continuities through continuity_surface_cache. DomCont gained a cache history (made during a Boolean operation; then GetTree; reused during one) and 96 domhistNNNN cases from their own seed stream (surface.surface_p1:domhist, half off the domain; 15 fail without the model): cases=1000 passed=987 failed=0 deferred=13 max_rel_err=0e0 blocked_by=curve.iso_curve(13). 2026-10-23 (PR #592): ApproximateSize builds its SmIsoCurves over the surface itself (IsoCurve::from_surface on an evaluation copy; B-splines keep the plain copy), and FindTessellationSplits / CreateIsoBoundaries take curve-bounded, STEP, offset and in-volume surfaces through the SmSurface CreateIsoParametricCurve body (with the caller's tolerance) and SmIsoCurve over the surface; GREEN: cases=1000 passed=1000 failed=0 deferred=0 max_rel_err=0e0 with_values=1000. intersect.curve_class_p1 drops its 24 curve.iso_curve deferrals (2094 -> 2118 pass, 7 deferred).
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
- 1,000
- 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: geom.a_object green geom.extent1d green geom.extent2d green geom.extent3d green geom.global_solver green geom.object green geom.pseudo_box green geom.solution_array green geom.tol green geom.tree green geom.vector2d green geom.vector3d green nurbs.b_spline_curve_p1 green nurbs.b_spline_surface_p1 green surface.surface_cache_p1 green surface.surface_cache_p3 green surface.surface_p2 partial topology.database_io green
Soft dependencies: curve.curve_p2 green curve.curve_p7 green curve.iso_curve green curve.line green geom.context green geom.geom_utility_p1 green geom.polar_box green nurbs.b_spline_curve_n_lib green surface.cone_p1 green surface.curve_bounded_surface green surface.plane_p1 partial surface.sphere green surface.surf_of_extrusion_p1 green surface.surf_of_revolution_p1 green surface.torus partial surface.trim_srf_cache green
Dependents: blend.fillet_executive_p1 green blend.fillet_standard_solver_p1 green blend.identify_fillet green intersect.surface_drop_curve green intersect.surface_drop_lib_p1 partial intersect.surface_drop_lib_p2 green intersect.surface_drop_lib_p3 green offset.offset_geometry_creation partial primitive.api_surface_ops green surface.offset_surface green surface.srf_in_volume green surface.surface_approximate green surface.surface_assert_valid green surface.surface_p10 green surface.surface_p11 green surface.surface_p3 green surface.surface_p8 green surface.surface_point_solve_p1 green surface.surface_point_solve_p3 green topology.brep_p3 partial topology.brep_p7 green topology.edgeuse_p3 green topology.face_p1 green
Soft dependents: blend.fillet_corner_p2 partial blend.fillet_custom_solver green blend.fillet_geom_p1 green blend.fillet_geom_p4 partial blend.fillet_intersector green blend.fillet_solver_p1 green blend.fillet_standard_solver_p2 green blend.hcr green boolean.merge_p1 green boolean.merge_p3 green boolean.topology_intersector_p3 green intersect.curve_class_p1 green intersect.curve_class_p4 green intersect.point_class green intersect.ray_tracer green intersect.surface_intersector_p1 green intersect.surface_intersector_p3 green intersect.topology_solver_p1 green intersect.topology_solver_p2 green offset.offset_executive_p1 partial query.brep green query.face_p1 green query.face_p2 green query.face_p3 green surface.surface_point_solve_p2 green sweep.api_surfaces green sweep.topology_sweep green topology.brep_cache green topology.brep_p1 green topology.brep_p10 green topology.brep_p2 green topology.brep_p4 green topology.brep_p5 green topology.brep_p6 green topology.brep_p9 green topology.edge green topology.edgeuse_p1 green topology.edgeuse_p2 green topology.face_p2 partial topology.face_p3 green topology.face_p4 green topology.vertexuse green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmSTEPSurface::SmSTEPSurface | SmSTEPSurface.h:46 | 1 | [StepSurface] |
SmSTEPSurface::SetContext | SmSTEPSurface.h:114 | 2 | [StepSurface] |
SmSTEPSurface::GetClassString | SmSTEPSurface.h:133 | 1 | [StepSurface] |
SmSTEPSurface::GetType | SmSTEPSurface.h:133 | 1 | [StepSurface] |
SmSTEPSurface::GetTypeString | SmSTEPSurface.h:133 | 1 | [StepSurface] |
SmDropCurveFail::SmDropCurveFail | SmSurface.h:164 | 1 | [DropCurveFail::copy_of] |
SmSurfaceEval::FailsEval | SmSurface.h:2186 | 2 | [SurfaceEval::fails_eval], [SurfaceEval::pos], ... |
SmSurfaceEval::Pos | SmSurface.h:2190 | 2 | [SurfaceEval::fails_eval], [SurfaceEval::pos], ... |
SmSurfaceEval::Su | SmSurface.h:2192 | 2 | [SurfaceEval::fails_eval], [SurfaceEval::pos], ... |
SmSurfaceEval::Sv | SmSurface.h:2194 | 2 | [SurfaceEval::fails_eval], [SurfaceEval::pos], ... |
SmSurfaceEval::Suu | SmSurface.h:2196 | 2 | [SurfaceEval::fails_eval], [SurfaceEval::pos], ... |
SmSurfaceEval::Suv | SmSurface.h:2198 | 2 | [SurfaceEval::fails_eval], [SurfaceEval::pos], ... |
SmSurfaceEval::Svv | SmSurface.h:2200 | 2 | [SurfaceEval::fails_eval], [SurfaceEval::pos], ... |
SmSTEPSurface::SmSTEPSurface | SmSTEPSurface.cpp:21 | 6 | [StepSurface] |
SmSTEPSurface::~SmSTEPSurface | SmSTEPSurface.cpp:33 | 5 | |
SmSTEPSurface::GetNaturalUVDomain | SmSTEPSurface.cpp:44 | 4 | [StepSurface] |
SmSTEPSurface::operator== | SmSTEPSurface.cpp:56 | 24 | [StepSurface] |
SmSTEPSurface::EvaluatePoint | SmSTEPSurface.cpp:86 | 6 | [StepSurface] |
SmSTEPSurface::Evaluate | SmSTEPSurface.cpp:98 | 45 | [StepSurface] |
SmSTEPSurface::GetDomainWithContinuity | SmSTEPSurface.cpp:155 | 9 | [StepSurface] |
SmSTEPSurface::GetKnots | SmSTEPSurface.cpp:172 | 48 | [StepSurface] |
SmSTEPSurface::ReadFromDB | SmSTEPSurface.cpp:289 | 41 | [StepSurface] |
SmSTEPSurface::IsKindOf | SmSTEPSurface.cpp:335 | 4 | [StepSurface] |
SmDropCurveFail::SmDropCurveFail | SmSurface.cpp:83 | 55 | [DropCurveFail::copy_of] |
SmSurface::SmSurface | SmSurface.cpp:711 | 14 | [Surface::new] (part 2), Clone |
SmSurface::SmSurface | SmSurface.cpp:731 | 16 | [Surface::new] (part 2), Clone |
sm_GetSurfaceToEvaluate | SmSurface.cpp:3622 | 10 | [surface_to_evaluate], [is_point_valid], [is_node_valid] |
sm_IsPointValid | SmSurface.cpp:3647 | 36 | [surface_to_evaluate], [is_point_valid], [is_node_valid] |
sm_IsNodeValid | SmSurface.cpp:3699 | 35 | [surface_to_evaluate], [is_point_valid], [is_node_valid] |
SmIsoCurveLengthIFEO::Evaluate | SmSurface.cpp:5210 | 45 | [IsoCurveLengthIntegrand::evaluate], [AreaIntegrand] |
SmAreaIFEO::Evaluate | SmSurface.cpp:5263 | 23 | [IsoCurveLengthIntegrand::evaluate], [AreaIntegrand] |
SmSurface::operator== | SmSurface.cpp:5293 | 14 | [Surface::approx_eq], [Surface::base_eq] |
SmSurface::SetOwner | SmSurface.cpp:5313 | 17 | [Surface::set_owner], [Surface::face] |
SmSurface::CalculateBoundingBox | SmSurface.cpp:5397 | 80 | [Surface::calculate_bounding_box], [SurfaceBoxes] |
SmSurface::ApproximateSize | SmSurface.cpp:5676 | 44 | [Surface::approximate_size] |
SmSurface::CacheMakeOrValidate | SmSurface.cpp:5784 | 301 | [validate_surface_cache], [make_surface_cache], [make_trim_srf_cache], [cache_tolerances] |
SmFindSingularParamWithGivenTangentDirEFO::SmFindSingularParamWithGivenTangentDirEFO | SmSurface.cpp:6581 | 15 | [FindSingularParamWithGivenTangentDir] |
SmFindSingularParamWithGivenTangentDirEFO::Evaluate | SmSurface.cpp:6645 | 56 | [StepSurface] |
sm_CrossedSeamOrPole | SmSurface.cpp:7780 | 50 | [crossed_seam_or_pole] |
SmSurface::ComputeParamDirection | SmSurface.cpp:8744 | 38 | [Surface::compute_param_direction] |
SmSurface::EvaluateDirectionalDerivs | SmSurface.cpp:8788 | 27 | [Surface::evaluate_directional_derivs] |
SmSurface::CreateOffsetSurface | SmSurface.cpp:9417 | 25 | [Surface::create_offset_surface] |
SmSurface::CreateSilhouetteCurves | SmSurface.cpp:9594 | 105 | [Surface::create_silhouette_curves] |
SmSurface::Evaluate1stDerivatives | SmSurface.cpp:10746 | 25 | [Surface::evaluate_1st_derivatives], [Surface::evaluate_2nd_derivatives] |
SmSurface::Evaluate2ndDerivatives | SmSurface.cpp:10790 | 28 | [Surface::evaluate_1st_derivatives], [Surface::evaluate_2nd_derivatives] |
SmSurface::EvaluateSTEP | SmSurface.cpp:10950 | 34 | [Surface::evaluate_step], [Surface::evaluate_step_point], [Surface::evaluate_simple] |
SmSurface::EvaluateSTEPPoint | SmSurface.cpp:10991 | 9 | [Surface::evaluate_step], [Surface::evaluate_step_point], [Surface::evaluate_simple] |
SmSurface::EvaluateSimple | SmSurface.cpp:11530 | 37 | [Surface::evaluate_step], [Surface::evaluate_step_point], [Surface::evaluate_simple] |
SmSurface::GetFace | SmSurface.cpp:11987 | 24 | [Surface::set_owner], [Surface::face] |
SmSurface::GetDomainWithContinuity | SmSurface.cpp:12048 | 100 | [StepSurface] |
SmSurface::ConvertDomainFromSTEPToNURBS | SmSurface.cpp:12296 | 22 | [Surface::convert_domain_from_step_to_nurbs], [Surface::convert_domain_from_nurbs_to_step] |
SmSurface::ConvertDomainFromNURBSToSTEP | SmSurface.cpp:12324 | 30 | [Surface::convert_domain_from_step_to_nurbs], [Surface::convert_domain_from_nurbs_to_step] |
SmCSIGlobalSolver::SmCSIGlobalSolver | SmSurface.cpp:13814 | 13 | [CsiGlobalSolver], [CsGlobalSolver], [LsiGlobalSolver::new], [SpGlobalSolver::new], [SsGlobalSolver::new] |
SmCSGlobalSolver::SmCSGlobalSolver | SmSurface.cpp:17305 | 11 | [CsiGlobalSolver], [CsGlobalSolver], [LsiGlobalSolver::new], [SpGlobalSolver::new], [SsGlobalSolver::new] |
SmCSGlobalSolver::BranchMayContainAnswers | SmSurface.cpp:17381 | 17 | [CsiGlobalSolver], [CsGlobalSolver], [LsiGlobalSolver::new], [SpGlobalSolver::new], [SsGlobalSolver::new] |
SmLSIGlobalSolver::SmLSIGlobalSolver | SmSurface.cpp:17934 | 19 | [CsiGlobalSolver], [CsGlobalSolver], [LsiGlobalSolver::new], [SpGlobalSolver::new], [SsGlobalSolver::new] |
SmSPGlobalSolver::SmSPGlobalSolver | SmSurface.cpp:19548 | 14 | [CsiGlobalSolver], [CsGlobalSolver], [LsiGlobalSolver::new], [SpGlobalSolver::new], [SsGlobalSolver::new] |
SmSSGlobalSolver::SmSSGlobalSolver | SmSurface.cpp:20945 | 13 | [CsiGlobalSolver], [CsGlobalSolver], [LsiGlobalSolver::new], [SpGlobalSolver::new], [SsGlobalSolver::new] |
SmSurface::IsPeriodic | SmSurface.cpp:22439 | 99 | [Surface::is_periodic] |
SmSurface::IsDegeneratePoint | SmSurface.cpp:22551 | 102 | [Surface::is_degenerate_point], [base_is_degenerate_point] |
SmSurface::IsDegenerateCurve | SmSurface.cpp:22666 | 241 | [Surface::is_degenerate_curve], [base_is_degenerate_curve] |
SmSurface::IsFlatCorner | SmSurface.cpp:23269 | 44 | [Surface::is_flat_corner], [Surface::is_on_boundary], [Surface::is_in_domain], [Surface::is_analytic] |
SmSurface::IsOnBoundary | SmSurface.cpp:23320 | 43 | [Surface::is_flat_corner], [Surface::is_on_boundary], [Surface::is_in_domain], [Surface::is_analytic] |
SmSurface::IsInDomain | SmSurface.cpp:23632 | 55 | [Surface::is_flat_corner], [Surface::is_on_boundary], [Surface::is_in_domain], [Surface::is_analytic] |
SmSurface::IsAnalytic | SmSurface.cpp:23695 | 10 | [Surface::is_flat_corner], [Surface::is_on_boundary], [Surface::is_in_domain], [Surface::is_analytic] |
SmSurface::FindUVCurveIvlInDomain | SmSurface.cpp:24348 | 68 | [find_uv_curve_ivl_in_domain] |
SmCSIntersectENFO::SmCSIntersectENFO | SmSurface.cpp:24449 | 11 | [CsIntersectEnfo], [CsNormalizeEnfo], [FindPsNormalEnfo], [SspIntersectEnfo], [SsiNormalizeEnfo], [SsNormalizeEnfo], [SssIntersectEnfo] |
SmCSNormalizeENFO::SmCSNormalizeENFO | SmSurface.cpp:25206 | 14 | [CsIntersectEnfo], [CsNormalizeEnfo], [FindPsNormalEnfo], [SspIntersectEnfo], [SsiNormalizeEnfo], [SsNormalizeEnfo], [SssIntersectEnfo] |
SmFindPSNormalENFO::SmFindPSNormalENFO | SmSurface.cpp:25824 | 9 | [CsIntersectEnfo], [CsNormalizeEnfo], [FindPsNormalEnfo], [SspIntersectEnfo], [SsiNormalizeEnfo], [SsNormalizeEnfo], [SssIntersectEnfo] |
SmSSPIntersectENFO::SmSSPIntersectENFO | SmSurface.cpp:26596 | 11 | [CsIntersectEnfo], [CsNormalizeEnfo], [FindPsNormalEnfo], [SspIntersectEnfo], [SsiNormalizeEnfo], [SsNormalizeEnfo], [SssIntersectEnfo] |
SmSSINormalizeENFO::SmSSINormalizeENFO | SmSurface.cpp:26956 | 8 | [CsIntersectEnfo], [CsNormalizeEnfo], [FindPsNormalEnfo], [SspIntersectEnfo], [SsiNormalizeEnfo], [SsNormalizeEnfo], [SssIntersectEnfo] |
SmSSNormalizeENFO::SmSSNormalizeENFO | SmSurface.cpp:28070 | 12 | [CsIntersectEnfo], [CsNormalizeEnfo], [FindPsNormalEnfo], [SspIntersectEnfo], [SsiNormalizeEnfo], [SsNormalizeEnfo], [SssIntersectEnfo] |
SmSSSIntersectENFO::SmSSSIntersectENFO | SmSurface.cpp:28626 | 9 | [CsIntersectEnfo], [CsNormalizeEnfo], [FindPsNormalEnfo], [SspIntersectEnfo], [SsiNormalizeEnfo], [SsNormalizeEnfo], [SssIntersectEnfo] |
SmSurface::SnapToKnots | SmSurface.cpp:29600 | 38 | [Surface::snap_to_knots] |
smsurf_EvaluateNormalSection | SmSurface.cpp:29944 | 69 | [evaluate_normal_section] |
Module file-header table (35 rows)
| Rust | Upstream |
|---|---|
[StepSurface] | SmSTEPSurface (constructors, destructor, GetNaturalUVDomain, operator==, EvaluatePoint, Evaluate, GetDomainWithContinuity, GetKnots, ReadFromDB, WriteToDB, IsKindOf, SetContext, GetType, GetTypeString, GetClassString) |
[Surface::new] (part 2), Clone | SmSurface::SmSurface (both) |
[Surface::approx_eq], [Surface::base_eq] | operator== (virtual), SmSurface::operator== |
[Surface::set_owner], [Surface::face] | SetOwner, GetFace |
[Surface::calculate_bounding_box], [SurfaceBoxes] | CalculateBoundingBox (base body) |
[Surface::certified_bounding_box] | not upstream: a box that bounds the surface over a domain and shrinks with it |
[Surface::approximate_size] | ApproximateSize |
[validate_surface_cache], [make_surface_cache], [make_trim_srf_cache], [cache_tolerances] | CacheMakeOrValidate |
[make_trim_srf_cache_with_face], [get_surface_cache_with_face] | CacheMakeOrValidate(SM_OC_TRIMSRF), smsurf_GetSurfaceCache of a face's surface |
[Surface::compute_param_direction] | ComputeParamDirection |
[Surface::evaluate_directional_derivs] | EvaluateDirectionalDerivs |
[Surface::create_offset_surface] | CreateOffsetSurface |
[Surface::create_silhouette_curves] | CreateSilhouetteCurves |
[Surface::evaluate_1st_derivatives], [Surface::evaluate_2nd_derivatives] | Evaluate1stDerivatives, Evaluate2ndDerivatives |
[Surface::evaluate_step], [Surface::evaluate_step_point], [Surface::evaluate_simple] | EvaluateSTEP, EvaluateSTEPPoint, EvaluateSimple |
[Surface::domain_with_continuity], [Surface::domain_with_continuity_from_cache] | GetDomainWithContinuity |
[Surface::convert_domain_from_step_to_nurbs], [Surface::convert_domain_from_nurbs_to_step] | ConvertDomainFromSTEPToNURBS, ConvertDomainFromNURBSToSTEP |
[Surface::is_periodic] | IsPeriodic |
[Surface::is_degenerate_point], [base_is_degenerate_point] | IsDegeneratePoint |
[Surface::is_degenerate_curve], [base_is_degenerate_curve] | IsDegenerateCurve |
[Surface::is_flat_corner], [Surface::is_on_boundary], [Surface::is_in_domain], [Surface::is_analytic] | IsFlatCorner, IsOnBoundary, IsInDomain, IsAnalytic |
[find_uv_curve_ivl_in_domain] | FindUVCurveIvlInDomain (static) |
[Surface::snap_to_knots] | SnapToKnots |
[evaluate_normal_section] | smsurf_EvaluateNormalSection |
[crossed_seam_or_pole] | sm_CrossedSeamOrPole (static) |
[surface_to_evaluate], [is_point_valid], [is_node_valid] | sm_GetSurfaceToEvaluate, sm_IsPointValid, sm_IsNodeValid (static) |
[zone_tol_3d], [map_to_2d_dir], [map_to_2d], [scaled_zero_of_surface] | SmTol::GetZoneTol3d(const SmObject*) for surfaces, SmTol::MapTo2d (surface overloads), SmTol::GetScaledZero(const SmSurface&) (co-ports) |
[map_to_2d_on_curve] | SmTol::MapTo2d(const SmTol3d&, double, const SmCurve&, const SmSurface&) (co-port, first ported privately by intersect.curve_class_p1) |
[SurfaceEval::fails_eval], [SurfaceEval::pos], ... | SmSurfaceEval::FailsEval, Pos, Su, Sv, Suu, Suv, Svv |
[DropCurveFail::copy_of] | SmDropCurveFail copy constructor |
[IsoCurveLengthIntegrand::evaluate], [AreaIntegrand] | SmIsoCurveLengthIFEO::Evaluate, SmAreaIFEO::Evaluate |
[FindSingularParamWithGivenTangentDir] | SmFindSingularParamWithGivenTangentDirEFO (constructor, Evaluate) |
[evaluate_1st_derivatives], [evaluate_2nd_derivatives], [SecondDerivatives], [evaluate_directional_derivs] | Evaluate1stDerivatives, Evaluate2ndDerivatives, EvaluateDirectionalDerivs for code generic over [SurfaceEvaluate] (first co-ported by surface.surface_p7) |
[CsiGlobalSolver], [CsGlobalSolver], [LsiGlobalSolver::new], [SpGlobalSolver::new], [SsGlobalSolver::new] | the constructors of SmCSIGlobalSolver, SmCSGlobalSolver (and its BranchMayContainAnswers), SmLSIGlobalSolver, SmSPGlobalSolver, SmSSGlobalSolver |
[CsIntersectEnfo], [CsNormalizeEnfo], [FindPsNormalEnfo], [SspIntersectEnfo], [SsiNormalizeEnfo], [SsNormalizeEnfo], [SssIntersectEnfo] | the constructors of SmCSIntersectENFO, SmCSNormalizeENFO, SmFindPSNormalENFO, SmSSPIntersectENFO, SmSSINormalizeENFO, SmSSNormalizeENFO, SmSSSIntersectENFO |
Upstream tests reaching this unit
SM_API_test:TestSmPrincipalDirectionPairing, 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