Integration of gauss map, osculating toroidal patches, loop detection and C2 judgement to figure out the singular or loop intersection.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
cmake_minimum_required(VERSION 3.21)
|
|
|
|
project(SingularityJudger)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
|
|
|
|
|
|
include_directories(include)
|
|
|
|
# 引入glm tinynurbs依赖
|
|
|
|
include_directories(E:/CLib/tinynurbs/include E:/CLib/glm)
|
|
|
|
|
|
|
|
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets)
|
|
|
|
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(SingularityJudger main.cpp
|
|
|
|
include/loop_detector.h src/loop_detector.cpp
|
|
|
|
include/gauss_map.h src/gauss_map.cpp
|
|
|
|
include/aabb.h src/aabb.cpp
|
|
|
|
include/C2C4.h src/C2C4.cpp
|
|
|
|
include/Range.h src/Range.cpp
|
|
|
|
src/SingularityJudger.cpp include/SingularityJudger.h src/srf_mesh.cpp include/srf_mesh.h)
|
|
|
|
|
|
|
|
target_link_libraries(SingularityJudger PRIVATE Qt${QT_VERSION_MAJOR}::Widgets)
|