DLL_HEADER for whole OCCGeometry

This commit is contained in:
Christopher Lackner 2020-05-17 20:24:22 +02:00
parent 319b6dc600
commit 97ba90ee40

View File

@ -206,7 +206,7 @@ namespace netgen
void Print (ostream & ost) const;
};
class OCCGeometry : public NetgenGeometry
class DLL_HEADER OCCGeometry : public NetgenGeometry
{
Point<3> center;
OCCParameters occparam;
@ -276,7 +276,7 @@ namespace netgen
void FinalizeMesh(Mesh& mesh) const override;
DLL_HEADER void Save (string filename) const override;
void Save (string filename) const override;
void DoArchive(Archive& ar) override;
@ -298,7 +298,7 @@ namespace netgen
const PointGeomInfo & gi2,
Point<3> & newp, PointGeomInfo & newgi) const override;
DLL_HEADER void BuildFMap();
void BuildFMap();
Box<3> GetBoundingBox() const
{ return boundingbox; }
@ -323,8 +323,8 @@ namespace netgen
return OCCSurface (TopoDS::Face(fmap(surfi)), PLANESPACE);
}
DLL_HEADER void CalcBoundingBox ();
DLL_HEADER void BuildVisualizationMesh (double deflection);
void CalcBoundingBox ();
void BuildVisualizationMesh (double deflection);
void RecursiveTopologyTree (const TopoDS_Shape & sh,
stringstream & str,
@ -332,17 +332,17 @@ namespace netgen
bool free,
const char * lname);
DLL_HEADER void GetTopologyTree (stringstream & str);
void GetTopologyTree (stringstream & str);
DLL_HEADER void PrintNrShapes ();
void PrintNrShapes ();
DLL_HEADER void CheckIrregularEntities (stringstream & str);
void CheckIrregularEntities (stringstream & str);
DLL_HEADER void SewFaces();
void SewFaces();
DLL_HEADER void MakeSolid();
void MakeSolid();
DLL_HEADER void HealGeometry();
void HealGeometry();
// Philippose - 15/01/2009
// Sets the maximum mesh size for a given face
@ -435,13 +435,12 @@ namespace netgen
vvispar[i-1].Lowlight();
}
DLL_HEADER void GetUnmeshedFaceInfo (stringstream & str);
DLL_HEADER void GetNotDrawableFaces (stringstream & str);
DLL_HEADER bool ErrorInSurfaceMeshing ();
void GetUnmeshedFaceInfo (stringstream & str);
void GetNotDrawableFaces (stringstream & str);
bool ErrorInSurfaceMeshing ();
// void WriteOCC_STL(char * filename);
// DLL_HEADER virtual int GenerateMesh (shared_ptr<Mesh> & mesh, MeshingParameters & mparam);
private:
bool FastProject (int surfi, Point<3> & ap, double& u, double& v) const;
};