Back to index

salome-geom  6.5.0
Functions
NMTTools_Tools.cxx File Reference
#include <NMTTools_Tools.hxx>
#include <TColStd_IndexedMapOfInteger.hxx>
#include <gp_Pnt.hxx>
#include <gp_XYZ.hxx>
#include <gp_Pnt2d.hxx>
#include <Geom_Surface.hxx>
#include <GeomAPI_ProjectPointOnSurf.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Edge.hxx>
#include <TopExp.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <BRep_Tool.hxx>
#include <BRep_Builder.hxx>
#include <BRepTools.hxx>
#include <BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger.hxx>
#include <BOPTools_VVInterference.hxx>
#include <BOPTools_SSInterference.hxx>
#include <BOPTools_Tools2D.hxx>
#include <BOPTools_Tools.hxx>
#include <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
#include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
#include <NMTTools_CoupleOfShape.hxx>
#include <Geom2d_Curve.hxx>
#include <Geom_Curve.hxx>
#include <Geom_TrimmedCurve.hxx>
#include <BRepLib.hxx>
#include <BOPTools_Tools3D.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_MapIteratorOfMapOfShape.hxx>
#include <TopoDS_Iterator.hxx>

Go to the source code of this file.

Functions

static void ProcessBlock (const Standard_Integer iV, const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger &aMCV, TColStd_IndexedMapOfInteger &aProcessed, TColStd_IndexedMapOfInteger &aChain)
static void ProcessBlock (const TopoDS_Shape &aF, const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape &aMCV, TopTools_IndexedMapOfShape &aProcessed, TopTools_IndexedMapOfShape &aChain)

Function Documentation

void ProcessBlock ( const Standard_Integer  iV,
const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger &  aMCV,
TColStd_IndexedMapOfInteger &  aProcessed,
TColStd_IndexedMapOfInteger &  aChain 
) [static]

Definition at line 418 of file NMTTools_Tools.cxx.

{
  Standard_Integer j, aNbV, iVx;
  //
  if (aProcessed.Contains(iV)) {
    return;
  }
  aProcessed.Add(iV);
  aChain.Add(iV);
  //
  const TColStd_IndexedMapOfInteger& aMV=aMCV.FindFromKey(iV);
  aNbV=aMV.Extent();
  for (j=1; j<=aNbV; ++j) {
    iVx=aMV(j);
    ProcessBlock(iVx, aMCV, aProcessed, aChain);
  }
}

Here is the call graph for this function:

void ProcessBlock ( const TopoDS_Shape &  aF,
const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape aMCV,
TopTools_IndexedMapOfShape &  aProcessed,
TopTools_IndexedMapOfShape &  aChain 
) [static]

Definition at line 595 of file NMTTools_Tools.cxx.

{
  Standard_Integer j, aNbV;
  //
  if (aProcessed.Contains(aF)) {
    return;
  }
  aProcessed.Add(aF);
  aChain.Add(aF);
  //
  const TopTools_IndexedMapOfShape& aMV=aMCV.FindFromKey(aF);
  aNbV=aMV.Extent();
  for (j=1; j<=aNbV; ++j) {
    const TopoDS_Shape& aFx=aMV(j);
    ProcessBlock(aFx, aMCV, aProcessed, aChain);
  }
}

Here is the call graph for this function: