mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
fix TSplitMethod for OS Windows
This commit is contained in:
parent
7e2390f8c3
commit
a9ebd2387b
@ -1808,6 +1808,17 @@ namespace
|
|||||||
TSplitMethod( int nbTet=0, const int* conn=0, bool addNode=false)
|
TSplitMethod( int nbTet=0, const int* conn=0, bool addNode=false)
|
||||||
: _nbSplits(nbTet), _nbCorners(4), _connectivity(conn), _baryNode(addNode), _ownConn(false) {}
|
: _nbSplits(nbTet), _nbCorners(4), _connectivity(conn), _baryNode(addNode), _ownConn(false) {}
|
||||||
~TSplitMethod() { if ( _ownConn ) delete [] _connectivity; _connectivity = 0; }
|
~TSplitMethod() { if ( _ownConn ) delete [] _connectivity; _connectivity = 0; }
|
||||||
|
TSplitMethod(TSplitMethod &splitMethod)
|
||||||
|
: _nbSplits(splitMethod._nbSplits),
|
||||||
|
_nbCorners(splitMethod._nbCorners),
|
||||||
|
_baryNode(splitMethod._baryNode),
|
||||||
|
_ownConn(splitMethod._ownConn),
|
||||||
|
_faceBaryNode(splitMethod._faceBaryNode)
|
||||||
|
{
|
||||||
|
_connectivity = splitMethod._connectivity;
|
||||||
|
splitMethod._connectivity = nullptr;
|
||||||
|
splitMethod._ownConn = false;
|
||||||
|
}
|
||||||
bool hasFacet( const TTriangleFacet& facet ) const
|
bool hasFacet( const TTriangleFacet& facet ) const
|
||||||
{
|
{
|
||||||
if ( _nbCorners == 4 )
|
if ( _nbCorners == 4 )
|
||||||
|
Loading…
Reference in New Issue
Block a user