0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been generated
SMESH_Algo::IsReversedSubMesh() is moved to SMESH_MesherHelper
This commit is contained in:
parent
b5bd180309
commit
18409329fe
@ -832,8 +832,8 @@ bool NETGENPlugin_Mesher::FillNgMesh(netgen::OCCGeometry& occgeom,
|
|||||||
TopoDS_Shape solid = occgeom.somap( solidID1 );
|
TopoDS_Shape solid = occgeom.somap( solidID1 );
|
||||||
TopAbs_Orientation faceOriInSolid = helper.GetSubShapeOri( solid, geomFace );
|
TopAbs_Orientation faceOriInSolid = helper.GetSubShapeOri( solid, geomFace );
|
||||||
if ( faceOriInSolid >= 0 )
|
if ( faceOriInSolid >= 0 )
|
||||||
reverse = SMESH_Algo::IsReversedSubMesh
|
reverse =
|
||||||
( TopoDS::Face( geomFace.Oriented( faceOriInSolid )), helper.GetMeshDS() );
|
helper.IsReversedSubMesh( TopoDS::Face( geomFace.Oriented( faceOriInSolid )));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add surface elements
|
// Add surface elements
|
||||||
|
@ -247,7 +247,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh,
|
|||||||
helper.NbAncestors(aShapeFace, aMesh, aShape.ShapeType()) > 1 )
|
helper.NbAncestors(aShapeFace, aMesh, aShape.ShapeType()) > 1 )
|
||||||
// IsReversedSubMesh() can work wrong on strongly curved faces,
|
// IsReversedSubMesh() can work wrong on strongly curved faces,
|
||||||
// so we use it as less as possible
|
// so we use it as less as possible
|
||||||
isRev = SMESH_Algo::IsReversedSubMesh( TopoDS::Face(aShapeFace), meshDS );
|
isRev = helper.IsReversedSubMesh( TopoDS::Face( aShapeFace ));
|
||||||
|
|
||||||
const SMESHDS_SubMesh * aSubMeshDSFace = proxyMesh->GetSubMesh( aShapeFace );
|
const SMESHDS_SubMesh * aSubMeshDSFace = proxyMesh->GetSubMesh( aShapeFace );
|
||||||
if ( !aSubMeshDSFace ) continue;
|
if ( !aSubMeshDSFace ) continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user