mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Make C++ standard to be enable from cmake settings: User will be able choosing C++ language standard by selecting cmake variable BUILD_CPP_STANDARD. For correct working, CMAKE_CXX_STANDARD cmake built-in variable should be available. To enable CMAKE_CXX_STANDARD, minimum CMAKE version has been updated to 3.1. Available next standard items: C++11 C++14 C++17 C++20 C++23 This issue consists from several steps to achive main goal: 1) Configuratiuon, CMake - allow selecting C++ standard. 2) Require minimum CMAKE version 3.1 (for enabling CMAKE_CXX_STANDARD). 3) More flexible CMAKE_CXX_COMPILER_ID identification (fixups previous commit!) 4) Add description of new CMAKE variable `BUILD_CPP_STANDARD` into documentation. 5) Update CMAKE requirements in documentation. 6) Set C++11 standard for several projects.
HLR sample demonstrates hidden line removal algorithm. It supports exact and polygonal HLR algorithms. To try HLR you need to follow some steps: 1) to import model, which will displayed in 3d view. 2) to choose "File->Process HLR" or press "HLR' button in the toolbar. Dialog with options of HLR will be opened. 3) to press "Get shapes" button of the HLR dialog to display results in the 2d view. Optionally, this dialog allow to view chosen shapes in his own view. Here you can choose needed direction of view and press "Update 2d" button to update shapes HLR 2d view.