mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 09:40:35 +05:00
#18782 EDF 20946 - Free nodes with biquadratic
This commit is contained in:
parent
155c6427af
commit
b3f2b68fc2
@ -1081,7 +1081,7 @@ double AspectRatio3D::GetValue( const TSequenceOfXYZ& P )
|
||||
case 5:{
|
||||
{
|
||||
gp_XYZ aXYZ[4] = {P( 1 ),P( 2 ),P( 3 ),P( 5 )};
|
||||
aQuality = std::max(GetValue(TSequenceOfXYZ(&aXYZ[0],&aXYZ[4])),aQuality);
|
||||
aQuality = GetValue(TSequenceOfXYZ(&aXYZ[0],&aXYZ[4]));
|
||||
}
|
||||
{
|
||||
gp_XYZ aXYZ[4] = {P( 1 ),P( 3 ),P( 4 ),P( 5 )};
|
||||
@ -1100,7 +1100,7 @@ double AspectRatio3D::GetValue( const TSequenceOfXYZ& P )
|
||||
case 6:{
|
||||
{
|
||||
gp_XYZ aXYZ[4] = {P( 1 ),P( 2 ),P( 4 ),P( 6 )};
|
||||
aQuality = std::max(GetValue(TSequenceOfXYZ(&aXYZ[0],&aXYZ[4])),aQuality);
|
||||
aQuality = GetValue(TSequenceOfXYZ(&aXYZ[0],&aXYZ[4]));
|
||||
}
|
||||
{
|
||||
gp_XYZ aXYZ[4] = {P( 1 ),P( 2 ),P( 4 ),P( 3 )};
|
||||
@ -1127,7 +1127,7 @@ double AspectRatio3D::GetValue( const TSequenceOfXYZ& P )
|
||||
case 8:{
|
||||
{
|
||||
gp_XYZ aXYZ[4] = {P( 1 ),P( 2 ),P( 5 ),P( 3 )};
|
||||
aQuality = std::max(GetValue(TSequenceOfXYZ(&aXYZ[0],&aXYZ[4])),aQuality);
|
||||
aQuality = GetValue(TSequenceOfXYZ(&aXYZ[0],&aXYZ[4]));
|
||||
}
|
||||
{
|
||||
gp_XYZ aXYZ[4] = {P( 1 ),P( 2 ),P( 5 ),P( 4 )};
|
||||
@ -1262,7 +1262,7 @@ double AspectRatio3D::GetValue( const TSequenceOfXYZ& P )
|
||||
case 12:
|
||||
{
|
||||
gp_XYZ aXYZ[8] = {P( 1 ),P( 2 ),P( 4 ),P( 5 ),P( 7 ),P( 8 ),P( 10 ),P( 11 )};
|
||||
aQuality = std::max(GetValue(TSequenceOfXYZ(&aXYZ[0],&aXYZ[8])),aQuality);
|
||||
aQuality = GetValue(TSequenceOfXYZ(&aXYZ[0],&aXYZ[8]));
|
||||
}
|
||||
{
|
||||
gp_XYZ aXYZ[8] = {P( 2 ),P( 3 ),P( 5 ),P( 6 ),P( 8 ),P( 9 ),P( 11 ),P( 12 )};
|
||||
|
@ -296,6 +296,18 @@ SMESH_MeshEditor::AddElement(const vector<const SMDS_MeshNode*> & node,
|
||||
node[8], node[9], node[10],node[11],
|
||||
node[12],node[13],node[14] );
|
||||
}
|
||||
else if (nbnode == 18) {
|
||||
if ( ID >= 1 ) e = mesh->AddVolumeWithID(node[0], node[1], node[2], node[3],
|
||||
node[4], node[5], node[6], node[7],
|
||||
node[8], node[9], node[10],node[11],
|
||||
node[12],node[13],node[14],
|
||||
node[15],node[16],node[17],ID );
|
||||
else e = mesh->AddVolume (node[0], node[1], node[2], node[3],
|
||||
node[4], node[5], node[6], node[7],
|
||||
node[8], node[9], node[10],node[11],
|
||||
node[12],node[13],node[14],
|
||||
node[15],node[16],node[17] );
|
||||
}
|
||||
else if (nbnode == 20) {
|
||||
if ( ID >= 1 ) e = mesh->AddVolumeWithID(node[0], node[1], node[2], node[3],
|
||||
node[4], node[5], node[6], node[7],
|
||||
|
Loading…
Reference in New Issue
Block a user