mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-25 09:07:26 +08:00
Modernized curve/surface intersection algorithms by replacing preprocessor-based generic programming (.gxx macros) with C++ templates (.pxx headers): IntCurveSurface package (TKGeomAlgo): - Introduced IntCurveSurface_Inter.pxx with callback-based template functions for intersection algorithms, replacing IntCurveSurface_Inter.gxx - Created IntCurveSurface_InterUtils.pxx with utility template functions for surface decomposition, UV clamping, and quadric intersection handling - Added IntCurveSurface_PolygonUtils.pxx for polygon construction utilities - Added IntCurveSurface_PolyhedronUtils.pxx for polyhedron construction utilities - Added IntCurveSurface_QuadricCurveExactInterUtils.pxx for exact quadric intersection computations - Converted standalone implementation files from macro instantiation (_0.cxx) to direct template usage (.cxx) - Removed obsolete .gxx and .lxx files HLRBRep package (TKHLR): - Updated HLRBRep_InterCSurf to use new IntCurveSurface template utilities - Converted HLRBRep polygon, polyhedron, and intersection classes to use modern template instantiation pattern - Removed legacy macro-based instantiation files (_0.cxx) This refactoring improves code maintainability, enables better IDE support and debugging, and aligns with modern C++ practices while preserving the existing API and functionality.
43 lines
1.6 KiB
CMake
43 lines
1.6 KiB
CMake
# Source files for IntCurveSurface package
|
|
set(OCCT_IntCurveSurface_FILES_LOCATION "${CMAKE_CURRENT_LIST_DIR}")
|
|
|
|
set(OCCT_IntCurveSurface_FILES
|
|
IntCurveSurface_HInter.hxx
|
|
IntCurveSurface_HInter.cxx
|
|
IntCurveSurface_Inter.pxx
|
|
IntCurveSurface_Intersection.cxx
|
|
IntCurveSurface_Intersection.hxx
|
|
IntCurveSurface_IntersectionPoint.cxx
|
|
IntCurveSurface_IntersectionPoint.hxx
|
|
IntCurveSurface_IntersectionPoint.lxx
|
|
IntCurveSurface_IntersectionSegment.cxx
|
|
IntCurveSurface_IntersectionSegment.hxx
|
|
IntCurveSurface_InterUtils.pxx
|
|
IntCurveSurface_PolygonUtils.pxx
|
|
IntCurveSurface_PolyhedronUtils.pxx
|
|
IntCurveSurface_QuadricCurveExactInterUtils.pxx
|
|
IntCurveSurface_SequenceOfPnt.hxx
|
|
IntCurveSurface_SequenceOfSeg.hxx
|
|
IntCurveSurface_TheCSFunctionOfHInter.hxx
|
|
IntCurveSurface_TheCSFunctionOfHInter_0.cxx
|
|
IntCurveSurface_TheExactHInter.hxx
|
|
IntCurveSurface_TheExactHInter_0.cxx
|
|
IntCurveSurface_TheHCurveTool.hxx
|
|
IntCurveSurface_TheHCurveTool.cxx
|
|
IntCurveSurface_TheInterferenceOfHInter.hxx
|
|
IntCurveSurface_TheInterferenceOfHInter_0.cxx
|
|
IntCurveSurface_ThePolygonOfHInter.hxx
|
|
IntCurveSurface_ThePolygonOfHInter.cxx
|
|
IntCurveSurface_ThePolygonToolOfHInter.hxx
|
|
IntCurveSurface_ThePolygonToolOfHInter.cxx
|
|
IntCurveSurface_ThePolyhedronOfHInter.hxx
|
|
IntCurveSurface_ThePolyhedronOfHInter.cxx
|
|
IntCurveSurface_ThePolyhedronToolOfHInter.hxx
|
|
IntCurveSurface_ThePolyhedronToolOfHInter.cxx
|
|
IntCurveSurface_TheQuadCurvExactHInter.hxx
|
|
IntCurveSurface_TheQuadCurvExactHInter.cxx
|
|
IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter.hxx
|
|
IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter.cxx
|
|
IntCurveSurface_TransitionOnCurve.hxx
|
|
)
|