mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-15 15:30:34 +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
|
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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user