solidcore

Units / intersect

intersect.curve_class_p8 green

Layer
37
Upstream lines
1,900
Functions
5
Rust module
intersect::curve_class::p8

Status history

Oct 12Nov 25
  1. todo 1,900 lines
  2. partial 1,900 lines
  3. green 1,900 lines

Source: crates/solidcore/src/intersect/curve_class/p8.rs

Upstream: source/SMLib/src/SmCurveClass.cpp

Port-plan notes

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

GREEN, PR #563 on main b65597902: 1127 native cases (327 fixtures + 800 generated), 1127 bit-identical passes, 0 failed, 0 deferred; all 913 main passes retained and 214 deferrals now pass. Verified by x86_64 CI 39928207576 and full ARM64 audit. CurveOnClassify calls intersect_natural_bounds; sm_InsertSolutions calls p5::insert_solutions through ClassObject::temporary boundary handles; volume boundary planes call surface.surface_p8 GlobalCurveIntersect. WR-155 slot-4/5 shared-buffer emulation and its 12 wr155_* fixtures are retained. Historical sensitivity detected all 785 pre-wiring perturbations. Coverage includes surface-operation state comparisons, defined UV-volume rejections and no-discontinuity volume early returns; finite extreme-input and alias-emulation details remain in findings.md. Green certifies this native corpus, not every 3D discontinuity/discontinuous-volume solve branch. Five functions: Intersect3DDiscontinuities, Intersect3DDiscontinuties, IntersectUVDiscontinuties, IntersectNaturalBounds; unit-SCC #22 (220 units); 317 upstream test entry points.

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,127
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.crv_on_surf green curve.curve_p2 green geom.extent2d green geom.extent3d green geom.object green geom.solution_array green geom.tol green geom.vector2d green geom.vector3d green intersect.curve_class_p1 green intersect.curve_class_p3 green intersect.curve_class_p5 green intersect.point_class green surface.surface_p2 partial surface.volume_p1 green

Soft dependencies: curve.curve_p4 green curve.curve_p8 green curve.line green geom.extent1d green nurbs.b_spline_surface_p1 green surface.plane_p1 partial surface.surface_p5 green surface.surface_p6 green surface.surface_p7 green surface.surface_p8 green surface.volume_p2 green

Dependents: audit.recursion green

Soft dependents: none

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
SmCurveClassification::IntersectNaturalBoundsSmCurveClass.cpp:8532352[CurveClassification::intersect_natural_bounds]
SmCurveClassification::IntersectNaturalUVBoundsSmCurveClass.cpp:8899314[CurveClassification::intersect_natural_uv_bounds]
SmCurveClassification::IntersectUVDiscontinutiesSmCurveClass.cpp:9228391[CurveClassification::intersect_uv_discontinuities]
SmCurveClassification::Intersect3DDiscontinutiesSmCurveClass.cpp:9634393[CurveClassification::intersect_3d_discontinuities]
SmCurveClassification::Intersect3DDiscontinuitiesSmCurveClass.cpp:10040450[CurveClassification::intersect_volume_discontinuities]
Module file-header table (11 rows)
RustUpstream
[CurveClassification::intersect_natural_bounds]IntersectNaturalBounds
[CurveClassification::intersect_natural_uv_bounds]IntersectNaturalUVBounds
[CurveClassification::intersect_uv_discontinuities]IntersectUVDiscontinuties
[CurveClassification::intersect_3d_discontinuities]Intersect3DDiscontinuties (surface)
[CurveClassification::intersect_volume_discontinuities]Intersect3DDiscontinuities (volume)
intersect_volume_discontinuity_report (private)Intersect3DDiscontinuities (volume) report body
insert_solutions (private)sm_InsertSolutions call adapter (part 5)
plane_intersections (private)SmSurface::GlobalCurveIntersect call on a boundary plane
[uv_discontinuity_intervals]the classification in SmCrvOnSurf::GetKnots
[volume_discontinuity_intervals]the classification in SmCrvInVolume::GetKnots
[FreeHandle]the stack classification's objects (a curve and its surface or volume)

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