Back to index

salome-geom  6.5.0
Functions
NMTTools_PaveFiller_3.cxx File Reference
#include <NMTTools_PaveFiller.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Face.hxx>
#include <TopExp_Explorer.hxx>
#include <BOPTools_VSInterference.hxx>
#include <BOPTools_CArray1OfVSInterference.hxx>
#include <NMTDS_Iterator.hxx>
#include <NMTDS_ShapesDataStructure.hxx>
#include <NMTDS_InterfPool.hxx>
#include <IntTools_Context.hxx>

Go to the source code of this file.

Functions

static Standard_Boolean Contains (const TopoDS_Face &aF, const TopoDS_Vertex &aV)

Function Documentation

Standard_Boolean Contains ( const TopoDS_Face &  aF,
const TopoDS_Vertex &  aV 
) [static]

Definition at line 138 of file NMTTools_PaveFiller_3.cxx.

{
  Standard_Boolean bRet;
  TopExp_Explorer aExp;
  //
  bRet=Standard_False;
  aExp.Init(aF, TopAbs_VERTEX);
  for (; aExp.More(); aExp.Next()) {
    const TopoDS_Shape& aVF=aExp.Current();
    if (aVF.IsSame(aV)) {
      bRet=!bRet;
      break;
    }
  }
  return bRet;
}

Here is the caller graph for this function: