mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
DLL_HEADER for whole OCCGeometry
This commit is contained in:
parent
319b6dc600
commit
97ba90ee40
@ -206,7 +206,7 @@ namespace netgen
|
|||||||
void Print (ostream & ost) const;
|
void Print (ostream & ost) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class OCCGeometry : public NetgenGeometry
|
class DLL_HEADER OCCGeometry : public NetgenGeometry
|
||||||
{
|
{
|
||||||
Point<3> center;
|
Point<3> center;
|
||||||
OCCParameters occparam;
|
OCCParameters occparam;
|
||||||
@ -276,7 +276,7 @@ namespace netgen
|
|||||||
|
|
||||||
void FinalizeMesh(Mesh& mesh) const override;
|
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;
|
void DoArchive(Archive& ar) override;
|
||||||
|
|
||||||
@ -298,7 +298,7 @@ namespace netgen
|
|||||||
const PointGeomInfo & gi2,
|
const PointGeomInfo & gi2,
|
||||||
Point<3> & newp, PointGeomInfo & newgi) const override;
|
Point<3> & newp, PointGeomInfo & newgi) const override;
|
||||||
|
|
||||||
DLL_HEADER void BuildFMap();
|
void BuildFMap();
|
||||||
|
|
||||||
Box<3> GetBoundingBox() const
|
Box<3> GetBoundingBox() const
|
||||||
{ return boundingbox; }
|
{ return boundingbox; }
|
||||||
@ -323,8 +323,8 @@ namespace netgen
|
|||||||
return OCCSurface (TopoDS::Face(fmap(surfi)), PLANESPACE);
|
return OCCSurface (TopoDS::Face(fmap(surfi)), PLANESPACE);
|
||||||
}
|
}
|
||||||
|
|
||||||
DLL_HEADER void CalcBoundingBox ();
|
void CalcBoundingBox ();
|
||||||
DLL_HEADER void BuildVisualizationMesh (double deflection);
|
void BuildVisualizationMesh (double deflection);
|
||||||
|
|
||||||
void RecursiveTopologyTree (const TopoDS_Shape & sh,
|
void RecursiveTopologyTree (const TopoDS_Shape & sh,
|
||||||
stringstream & str,
|
stringstream & str,
|
||||||
@ -332,17 +332,17 @@ namespace netgen
|
|||||||
bool free,
|
bool free,
|
||||||
const char * lname);
|
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
|
// Philippose - 15/01/2009
|
||||||
// Sets the maximum mesh size for a given face
|
// Sets the maximum mesh size for a given face
|
||||||
@ -435,13 +435,12 @@ namespace netgen
|
|||||||
vvispar[i-1].Lowlight();
|
vvispar[i-1].Lowlight();
|
||||||
}
|
}
|
||||||
|
|
||||||
DLL_HEADER void GetUnmeshedFaceInfo (stringstream & str);
|
void GetUnmeshedFaceInfo (stringstream & str);
|
||||||
DLL_HEADER void GetNotDrawableFaces (stringstream & str);
|
void GetNotDrawableFaces (stringstream & str);
|
||||||
DLL_HEADER bool ErrorInSurfaceMeshing ();
|
bool ErrorInSurfaceMeshing ();
|
||||||
|
|
||||||
// void WriteOCC_STL(char * filename);
|
// void WriteOCC_STL(char * filename);
|
||||||
|
|
||||||
// DLL_HEADER virtual int GenerateMesh (shared_ptr<Mesh> & mesh, MeshingParameters & mparam);
|
|
||||||
private:
|
private:
|
||||||
bool FastProject (int surfi, Point<3> & ap, double& u, double& v) const;
|
bool FastProject (int surfi, Point<3> & ap, double& u, double& v) const;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user