mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
Windows compatibility
This commit is contained in:
parent
2f541de569
commit
a4a1062443
@ -32,6 +32,12 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#ifdef WNT
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* \brief High level util for effective file reading and other file operations
|
||||
*/
|
||||
|
@ -6133,7 +6133,7 @@ void SMESH_ElementSearcherImpl::findOuterBoundary(const SMDS_MeshElement* outerF
|
||||
gp_Vec dirInOF = gp_Vec( ofNorm ) ^ n1n2;
|
||||
// sort all other faces by angle with the dirInOF
|
||||
map< double, const SMDS_MeshElement* > angle2Face;
|
||||
set< const SMDS_MeshElement* >::const_iterator face = faces.begin();
|
||||
set< const SMDS_MeshElement*, TIDCompare >::const_iterator face = faces.begin();
|
||||
for ( ; face != faces.end(); ++face )
|
||||
{
|
||||
if ( !SMESH_Algo::FaceNormal( *face, fNorm, /*normalized=*/false ))
|
||||
|
Loading…
Reference in New Issue
Block a user