mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
Fix compilation on Windows
This commit is contained in:
parent
6ca4db2d7c
commit
bf6639b9f6
@ -80,15 +80,13 @@ struct Triangulate::PolyVertex
|
|||||||
bool IsInsideTria( const PolyVertex* v );
|
bool IsInsideTria( const PolyVertex* v );
|
||||||
PolyVertex* Delete();
|
PolyVertex* Delete();
|
||||||
|
|
||||||
struct Compare // compare PolyVertex'es by node
|
// compare PolyVertex'es by node
|
||||||
{
|
|
||||||
bool operator()(const PolyVertex* a, const PolyVertex* b) const
|
bool operator()(const PolyVertex* a, const PolyVertex* b) const
|
||||||
{
|
{
|
||||||
return ( a->_nxyz.Node() < b->_nxyz.Node() );
|
return ( a->_nxyz.Node() < b->_nxyz.Node() );
|
||||||
}
|
}
|
||||||
};
|
|
||||||
// set of PolyVertex sorted by mesh node
|
// set of PolyVertex sorted by mesh node
|
||||||
typedef boost::container::flat_set< PolyVertex*, Compare > PVSet;
|
typedef boost::container::flat_set< PolyVertex*, PolyVertex > PVSet;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Triangulate::Data
|
struct Triangulate::Data
|
||||||
|
Loading…
Reference in New Issue
Block a user