Back to index

salome-geom  6.5.0
Functions
GEOMAlgo_Gluer2_3.cxx File Reference
#include <GEOMAlgo_Gluer2.hxx>
#include <TopAbs_ShapeEnum.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Edge.hxx>
#include <BRep_Tool.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
#include <TopTools_DataMapOfShapeListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_MapIteratorOfMapOfShape.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <NMTTools_CoupleOfShape.hxx>
#include <NMTTools_ListOfCoupleOfShape.hxx>
#include <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
#include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
#include <NMTTools_Tools.hxx>
#include <GEOMAlgo_GlueDetector.hxx>

Go to the source code of this file.

Functions

static void MapShapes1 (const TopoDS_Shape &aS, const TopAbs_ShapeEnum aType, TopTools_IndexedMapOfShape &aM)

Function Documentation

void MapShapes1 ( const TopoDS_Shape &  aS,
const TopAbs_ShapeEnum  aType,
TopTools_IndexedMapOfShape &  aM 
) [static]

Definition at line 343 of file GEOMAlgo_Gluer2_3.cxx.

{
  TopExp_Explorer aExp;

  aExp.Init (aS, aType);
  for ( ;aExp.More(); aExp.Next()) {
    const TopoDS_Shape aSx=aExp.Current();
    if (aType==TopAbs_EDGE) {
      const TopoDS_Edge& aEx=*((TopoDS_Edge*)&aSx);
      if (BRep_Tool::Degenerated(aEx)) {
        continue;
      }
    }
    aM.Add(aSx);
  }
}

Here is the caller graph for this function: