SALOME 9.1.0 Windows version

This commit is contained in:
rnv 2018-08-29 14:46:47 +03:00
parent 42a2e30144
commit 2ced8ee24b
2 changed files with 11 additions and 8 deletions

View File

@ -2398,7 +2398,7 @@ int NETGENPlugin_Mesher::FillSMesh(const netgen::OCCGeometry& occgeo,
for ( ngID = i = 1; i < nodeVecSize; ++ngID, ++i ) for ( ngID = i = 1; i < nodeVecSize; ++ngID, ++i )
{ {
gp_Pnt ngPnt( NGPOINT_COORDS( ngMesh.Point( ngID ))); gp_Pnt ngPnt( NGPOINT_COORDS( ngMesh.Point( ngID )));
gp_Pnt node ( SMESH_NodeXYZ ( nodeVec[ i ])); gp_Pnt node ( SMESH_NodeXYZ (nodeVec_ACCESS(i) ));
if ( ngPnt.SquareDistance( node ) < eps ) if ( ngPnt.SquareDistance( node ) < eps )
{ {
nodeVec[ ngID ] = nodeVec[ i ]; nodeVec[ ngID ] = nodeVec[ i ];

View File

@ -49,15 +49,18 @@
using namespace nglib; using namespace nglib;
// namespace netgen namespace netgen {
// {
// #if defined(NETGEN_V5) && defined(WIN32) #if defined(NETGEN_V5) && defined(WIN32)
// DLL_HEADER DLL_HEADER
// #endif #endif
// extern STLParameters stlparam; extern STLParameters stlparam;
// } }
namespace nglib namespace nglib
{ {
#if defined(NETGEN_V5) && defined(WIN32)
DLL_HEADER
#endif
extern netgen::Array<netgen::Point<3> > readedges; extern netgen::Array<netgen::Point<3> > readedges;
} }