Units / intersect
intersect.curve_class_p2 claimed
- Layer
- 33
- Upstream lines
- 1,928
- Functions
- 13
- Rust module
intersect::curve_class::p2
Claimed: #85 @bherbruck (ready for review)
Source: crates/solidcore/src/intersect/curve_class/p2.rs (not written yet)
Upstream: source/SMLib/src/SmCurveClass.cpp
Notes
13 fns; largest: sm_RefineCCIToSurfaces, SmCurveClassification::ReSet, SmCurveClassification::EditIntervalMax, SmCurveClassification::EditIntervalMin; cycle back-edges (call into later units; stub or co-port): topology.edge(3), topology.face_p2(2), topology.brep_p1(1), topology.edgeuse_p1(1); unit-SCC #22 (220 units); 317 upstream test entry points reach this unit
Difftest
No difftest report yet.
Dependencies
Depends on: curve.curve_p2 green geom.extent1d green geom.object partial geom.solution_array partial geom.tol green geom.vector2d green geom.vector3d green intersect.curve_class_p1 partial intersect.curve_class_p7 partial intersect.point_class partial surface.surface_p2 partial
Soft dependencies: curve.crv_on_surf partial curve.curve_p3 green geom.extent2d green intersect.surface_intersector_p1 partial surface.surface_p3 green surface.surface_p5 green surface.surface_p6 green surface.surface_p7 partial surface.surface_p8 partial
Dependents: intersect.curve_class_p3 partial intersect.curve_class_p4 claimed intersect.curve_class_p5 partial intersect.curve_class_p6 partial
Soft dependents: blend.fillet_solver_p5 claimed blend.hcr claimed heal.face_props partial heal.heal_data_p3 partial query.face_p2 partial query.face_p3 claimed query.face_p4 claimed topology.brep_p2 claimed topology.face_p4 claimed
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
sm_RefineCCIToSurfaces | SmCurveClass.cpp:1655 | 1286 | |
SmCurveClassification::operator= | SmCurveClass.cpp:5013 | 67 | |
SmCurveClassification::GetPointObjZoneTol3d | SmCurveClass.cpp:5106 | 14 | |
SmCurveClassification::HasDeadTopologyPointObject | SmCurveClass.cpp:5133 | 25 | |
SmCurveClassification::GetClassifyCrvLoc | SmCurveClass.cpp:5164 | 21 | |
SmCurveClassification::InsertAt | SmCurveClass.cpp:5328 | 44 | |
SmCurveClassification::ReSet | SmCurveClass.cpp:5541 | 110 | |
SmCurveClassification::ConnectIntervals | SmCurveClass.cpp:7083 | 74 | |
SmCurveClassification::UpdatePointClass | SmCurveClass.cpp:8119 | 20 | |
SmCurveClassification::EditIntervalMin | SmCurveClass.cpp:8148 | 88 | |
SmCurveClassification::EditIntervalMax | SmCurveClass.cpp:8245 | 90 | |
SmCurveInterval::GetMinUV | SmCurveClass.cpp:20327 | 44 | |
SmCurveInterval::GetMaxUV | SmCurveClass.cpp:20384 | 45 |
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