topology.brep_planar_section partial
- Layer
- 48
- Upstream lines
- 520
- Functions
- 0
- Rust module
topology::brep::planar_section
Status history
- green 520 lines
- partial 520 lines
Source: crates/solidcore/src/topology/brep/planar_section.rs
Upstream: source/SMLib/src/SmBrep.cpp, source/SMLib/src/SmSurface.cpp, source/SMLib/src/SmEdge.cpp, source/SMLib/src/SmExtent3d.cpp, source/SM_API/src/SmApiIntersectors.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
[2026-11-04 (#2400): PARTIAL, 12 known mismatches: the blend corner is the default and the old corner code is deleted, so these cases no longer agree with C++ v1.0.1's pinned corner (plan/findings/blend.fillet_corner_p3--blend-corner-default-diverges-from-cpp-v1-0-1-2026-11-04.md)] NOT IN callgraph/units.json: SmBrep::CreatePlanarSectionCurves (SmBrep.cpp:5169), SmSurface::CreatePlanarSectionCurves (SmSurface.cpp:9795), SmSurface::CreatePlaneFromBBox (SmSurface.cpp:9707), SmEdge::IsEmbedded (SmEdge.cpp:5521) and SmApiIntersectBrepWithPlane (SmApiIntersectors.cpp:261) are listed in harness/callgraph/unused_functions.txt (no in-scope root reaches them); issue #1451. Rust: topology::brep::planar_section::{create_planar_section_curves, surface_planar_section_curves, create_plane_from_bbox}; intersect::api_intersectors::intersect_brep_with_plane; co-ported edge::is_embedded (topology.edge) and Extent3d::distance_to_plane (SmExtent3d::DistanceToPlane, geom.extent3d). Status set when the difftest gate has run.
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
- 167
- 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.curve_p6 green geom.extent3d green intersect.surface_drop_lib_p1 partial nurbs.b_spline_surface_p1 green query.face_p3 green surface.plane_p2 green surface.surface_p11 green surface.surface_p2 partial topology.brep_p1 green topology.edge green topology.face_p2 partial topology.face_p4 green
Soft dependencies: none
Dependents: topology.brep_cutting partial
Soft dependents: none
Upstream functions
No upstream functions listed in harness/callgraph/units.json.
Module file-header table (3 rows)
| Rust | Upstream |
|---|---|
[create_planar_section_curves], [PlanarSectionOptions], [SectionOutputs], [PlanarSection] | SmBrep::CreatePlanarSectionCurves |
[surface_planar_section_curves], [face_planar_section_curves], [SurfaceSection] | SmSurface::CreatePlanarSectionCurves (no override) |
[create_plane_from_bbox] | SmSurface::CreatePlaneFromBBox (static) |
Upstream tests reaching this unit
tests/SM_API_test/src/TestSmIntersectors.cpp:TestSmIntersectBrepWithPlane, tests/prog_test/src/smAdvancedTest.cpp:my_test_tsurf_section, tests/prog_test/src/smTopoTest.cpp:my_test_tsurf_section