mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-06 04:37:42 +08:00
Consolidate duplicated local property computation classes (GeomLProp_CLProps, Geom2dLProp_CLProps2d, LProp3d_CLProps, BRepLProp_CLProps, HLRBRep_CLProps and their SLProps counterparts) into unified C++ template classes GeomLProp_CLPropsBase and GeomLProp_SLProps with policy-based access (DirectAccess/ToolAccess). Move LProp, GeomLProp, and GProp packages from TKG2d/TKG3d to TKGeomBase. Remove Geom2dLProp and LProp3d packages entirely. Merge Geom2dLProp_CurAndInf2d into GeomLProp_CurAndInf2d. Preserve backward-compatible type aliases (using declarations) for all previously existing class names. Shared algorithm logic extracted into LProp_CurveUtils and LProp_SurfaceUtils namespaces. 2D curve analysis helpers (FuncCurExt2d, FuncCurNul2d, NumericCurInf2d) converted to header-only .pxx implementations under GeomLProp. Update all dependent code (LocalAnalysis, BRepFill, ChFi3d, Geom2dHatch, GeomPlate, ProjLib, HLRBRep, DrawTrSurf, etc.) to use new template instantiations. Migrate GTests from TKG2d to TKGeomBase with updated class names.
1.1 KiB
1.1 KiB