mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-15 07:30:32 +05:00
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:
parent
6f5eae828d
commit
2da94c3e6b
@ -19,7 +19,7 @@ namespace netgen
|
||||
This class is used for generation of surface meshes
|
||||
in NETGEN
|
||||
*/
|
||||
class Surface
|
||||
class DLL_HEADER Surface
|
||||
{
|
||||
protected:
|
||||
/// invert normal vector
|
||||
@ -236,7 +236,7 @@ namespace netgen
|
||||
|
||||
|
||||
|
||||
class Primitive
|
||||
class DLL_HEADER Primitive
|
||||
{
|
||||
protected:
|
||||
NgArray<int> surfaceids;
|
||||
|
@ -276,7 +276,7 @@ ostream& operator<<(ostream& os, const STLTriangle& t);
|
||||
|
||||
|
||||
|
||||
class STLTopology
|
||||
class DLL_HEADER STLTopology
|
||||
{
|
||||
protected:
|
||||
Array<STLTriangle, STLTrigId> trias;
|
||||
|
Loading…
Reference in New Issue
Block a user