parasolid头文件
时间: 2023-09-17 10:14:30 浏览: 45
To use Parasolid API in your C++ project, you need to include the following header files:
```
#include "ParasolidKrnl.hxx"
#include "PK.hxx"
```
The `ParasolidKrnl.hxx` header file contains the declarations of the Parasolid classes and functions. The `PK.hxx` header file is a convenience header that includes `ParasolidKrnl.hxx` and other necessary headers.
You also need to link your project with the Parasolid libraries. The required libraries depend on the platform and the version of Parasolid you are using. Here is an example of the linker flags you may need on Linux:
```
-lpskernel -lpskrnl -lpsgeom -lpsbool -lpsmath -lpsio -lpsgmodel -lpsgmodelbase -lpsgmodeldata -lpsgmodelmisc
```
You can obtain the necessary linker flags from the Parasolid installation directory or from the Parasolid documentation.