0021006: EDF 1546 SMESH : Convert To Quadratic fails
- const list<const SMDS_FaceOfNodes*>* faces = Adaptor.GetTriangles(elem); + const list<const SMDS_MeshFace*>* faces = Adaptor.GetTriangles(elem);
This commit is contained in:
parent
27901a6ff5
commit
0876b5d15c
@ -235,7 +235,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh,
|
|||||||
if ( !isTraingle )
|
if ( !isTraingle )
|
||||||
{
|
{
|
||||||
// use adaptor to convert quadrangle face into triangles
|
// use adaptor to convert quadrangle face into triangles
|
||||||
const list<const SMDS_FaceOfNodes*>* faces = Adaptor.GetTriangles(elem);
|
const list<const SMDS_MeshFace*>* faces = Adaptor.GetTriangles(elem);
|
||||||
if(faces==0)
|
if(faces==0)
|
||||||
return error( COMPERR_BAD_INPUT_MESH,
|
return error( COMPERR_BAD_INPUT_MESH,
|
||||||
SMESH_Comment("No triangles in adaptor for element ")<<elem->GetID());
|
SMESH_Comment("No triangles in adaptor for element ")<<elem->GetID());
|
||||||
@ -438,7 +438,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh,
|
|||||||
bool isTraingle = ( elem->NbCornerNodes() == 3 );
|
bool isTraingle = ( elem->NbCornerNodes() == 3 );
|
||||||
if ( !isTraingle ) {
|
if ( !isTraingle ) {
|
||||||
// using adaptor
|
// using adaptor
|
||||||
const list<const SMDS_FaceOfNodes*>* faces = Adaptor.GetTriangles(elem);
|
const list<const SMDS_MeshFace*>* faces = Adaptor.GetTriangles(elem);
|
||||||
if(faces==0)
|
if(faces==0)
|
||||||
continue; // Issue 0020682. There already can be 3d mesh
|
continue; // Issue 0020682. There already can be 3d mesh
|
||||||
trias.assign( faces->begin(), faces->end() );
|
trias.assign( faces->begin(), faces->end() );
|
||||||
|
Loading…
Reference in New Issue
Block a user