mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-25 01:00:34 +05:00
untabify
This commit is contained in:
parent
e069a4fc65
commit
037d3f1a0c
@ -68,7 +68,7 @@ StdMeshers_Projection_3D::StdMeshers_Projection_3D(int hypId, int studyId, SMESH
|
|||||||
:SMESH_3D_Algo(hypId, studyId, gen)
|
:SMESH_3D_Algo(hypId, studyId, gen)
|
||||||
{
|
{
|
||||||
_name = "Projection_3D";
|
_name = "Projection_3D";
|
||||||
_shapeType = (1 << TopAbs_SHELL) | (1 << TopAbs_SOLID); // 1 bit per shape type
|
_shapeType = (1 << TopAbs_SHELL) | (1 << TopAbs_SOLID); // 1 bit per shape type
|
||||||
|
|
||||||
_compatibleHypothesis.push_back("ProjectionSource3D");
|
_compatibleHypothesis.push_back("ProjectionSource3D");
|
||||||
_sourceHypo = 0;
|
_sourceHypo = 0;
|
||||||
@ -308,9 +308,9 @@ bool StdMeshers_Projection_3D::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aS
|
|||||||
TNodeNodeMap faceMatchingNodes;
|
TNodeNodeMap faceMatchingNodes;
|
||||||
if ( ! TAssocTool::FindMatchingNodesOnFaces( srcFace, srcMesh, tgtFace, tgtMesh,
|
if ( ! TAssocTool::FindMatchingNodesOnFaces( srcFace, srcMesh, tgtFace, tgtMesh,
|
||||||
shape2ShapeMap, faceMatchingNodes ))
|
shape2ShapeMap, faceMatchingNodes ))
|
||||||
return error(COMPERR_BAD_INPUT_MESH,SMESH_Comment("Mesh on faces #")
|
return error(COMPERR_BAD_INPUT_MESH,SMESH_Comment("Mesh on faces #")
|
||||||
<< srcMeshDS->ShapeToIndex( srcFace ) << " and "
|
<< srcMeshDS->ShapeToIndex( srcFace ) << " and "
|
||||||
<< tgtMeshDS->ShapeToIndex( tgtFace ) << " seems different" );
|
<< tgtMeshDS->ShapeToIndex( tgtFace ) << " seems different" );
|
||||||
|
|
||||||
// put found matching nodes of 2 faces to the global map
|
// put found matching nodes of 2 faces to the global map
|
||||||
src2tgtNodeMap.insert( faceMatchingNodes.begin(), faceMatchingNodes.end() );
|
src2tgtNodeMap.insert( faceMatchingNodes.begin(), faceMatchingNodes.end() );
|
||||||
@ -427,8 +427,8 @@ bool StdMeshers_Projection_3D::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aS
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
bool StdMeshers_Projection_3D::Evaluate(SMESH_Mesh& aMesh,
|
bool StdMeshers_Projection_3D::Evaluate(SMESH_Mesh& aMesh,
|
||||||
const TopoDS_Shape& aShape,
|
const TopoDS_Shape& aShape,
|
||||||
MapShapeNbElems& aResMap)
|
MapShapeNbElems& aResMap)
|
||||||
{
|
{
|
||||||
if ( !_sourceHypo )
|
if ( !_sourceHypo )
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user