query.poly_properties green
- Layer
- 45
- Upstream lines
- 360
- Functions
- 0
- Rust module
query::poly_properties
Status history
- green 360 lines
Source: crates/solidcore/src/query/poly_properties.rs
Upstream: source/SMLib/src/SmPoly.cpp, source/SMLib/inc/SmPoly.h, source/SM_API/src/SmApiPolygons.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
GREEN: difftest 641 cases, 641 pass, 0 failed, 0 deferred (local integration run on bb06099f1). SM_API gap S5 (scratchpad table row 29/41/43). NOT IN callgraph/units.json: SmPolyBrep::IsManifoldSolid, SmPolyBrep::ComputeProperties and SmPolyFace::ComputeProperties are in harness/callgraph/unused_functions.txt; the SM_API entry points SmApiPolyBrepIsManifoldSolid / SmApiPolyBrepComputeVolume / SmApiPolyBrepComputeMassProperties are v1.0.1 additions. Owns those six functions plus SmPolyEdge::IsManifold and SmPolyEdge::GetOtherPolyVertex (as used here). Rust: PolyBrep::edge_is_manifold / is_manifold_solid / face_compute_properties / compute_properties, poly_brep_is_manifold_solid / poly_brep_compute_volume / poly_brep_compute_mass_properties. Fixtures mirror TestSmPolyBrepMassPropertiesWinding (box at (1,2,3), 2x4x6, outward and reversed, quads and triangles, density 2) with explicit meshes rather than SmApiTessellate output. Status pending the gate 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
- 641
- 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.extent3d green geom.vector3d green query.poly green
Soft dependencies: none
Dependents: none
Soft dependents: none
Upstream functions
No upstream functions listed in harness/callgraph/units.json.
Module file-header table (9 rows)
| Rust | Upstream |
|---|---|
[MassPropertiesType] | SmMassPropertiesType |
[PolyProperties] | the outputs of ComputeProperties |
[PolyBrep::edge_is_manifold] | SmPolyEdge::IsManifold |
[PolyBrep::is_manifold_solid] | SmPolyBrep::IsManifoldSolid |
[PolyBrep::face_compute_properties] | SmPolyFace::ComputeProperties, SmPolyEdge::GetOtherPolyVertex |
[PolyBrep::compute_properties] | SmPolyBrep::ComputeProperties |
[poly_brep_is_manifold_solid] | SmApiPolyBrepIsManifoldSolid |
[poly_brep_compute_volume] | SmApiPolyBrepComputeVolume |
[poly_brep_compute_mass_properties], [PolyMassProperties] | SmApiPolyBrepComputeMassProperties |
Upstream tests reaching this unit
tests/SM_API_test/src/TestSmGeneral.cpp, tests/SM_API_test/src/TestSmBrep.cpp