Export additional classes to provide typeinfo visibility

Add DLL_HEADER to Surface, Primitive, and STLTopology in order to make
typeinfo available to link stage (otherwise, link fails with GNU ld).
This commit is contained in:
Monty Montgomery 2022-05-15 00:43:27 -04:00
parent 6f5eae828d
commit 2da94c3e6b
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ namespace netgen
This class is used for generation of surface meshes This class is used for generation of surface meshes
in NETGEN in NETGEN
*/ */
class Surface class DLL_HEADER Surface
{ {
protected: protected:
/// invert normal vector /// invert normal vector
@ -236,7 +236,7 @@ namespace netgen
class Primitive class DLL_HEADER Primitive
{ {
protected: protected:
NgArray<int> surfaceids; NgArray<int> surfaceids;

View File

@ -276,7 +276,7 @@ ostream& operator<<(ostream& os, const STLTriangle& t);
class STLTopology class DLL_HEADER STLTopology
{ {
protected: protected:
Array<STLTriangle, STLTrigId> trias; Array<STLTriangle, STLTrigId> trias;