Version: 9.12.0
GEOMAlgo_AlgoTools.cxx File Reference
#include <GEOMAlgo_AlgoTools.hxx>
#include <Basics_OCCTVersion.hxx>
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
#include <gp_Dir2d.hxx>
#include <gp_Ax2.hxx>
#include <Bnd_Box.hxx>
#include <BRepAdaptor_Curve2d.hxx>
#include <BRepTopAdaptor_FClass2d.hxx>
#include <Geom2d_Curve.hxx>
#include <Geom2d_TrimmedCurve.hxx>
#include <Geom2d_Line.hxx>
#include <Geom2dHatch_Intersector.hxx>
#include <Geom2dHatch_Hatcher.hxx>
#include <Geom2dAdaptor_Curve.hxx>
#include <HatchGen_Domain.hxx>
#include <GeomLib.hxx>
#include <Geom_Curve.hxx>
#include <Geom_Surface.hxx>
#include <GeomAdaptor_Surface.hxx>
#include <GeomAPI_ProjectPointOnSurf.hxx>
#include <GeomAPI_ProjectPointOnCurve.hxx>
#include <GProp_GProps.hxx>
#include <Poly_Triangulation.hxx>
#include <TopAbs_Orientation.hxx>
#include <TopLoc_Location.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Iterator.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Compound.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <BRep_Tool.hxx>
#include <BRep_Builder.hxx>
#include <BRepLib_MakeVertex.hxx>
#include <BRepTools.hxx>
#include <BRepTools_WireExplorer.hxx>
#include <BRepBndLib.hxx>
#include <BRepMesh_IncrementalMesh.hxx>
#include <BRepGProp.hxx>
#include <IntTools_Tools.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_DataMapOfShapeReal.hxx>
#include <TColgp_SequenceOfPnt2d.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopAbs_ShapeEnum.hxx>
#include <BOPTools_AlgoTools3D.hxx>
#include <BOPTools_AlgoTools2D.hxx>
#include <ShapeUpgrade_ShapeDivideArea.hxx>
#include <ShapeUpgrade_UnifySameDomain.hxx>
#include <GEOMAlgo_PassKeyShape.hxx>
#include <algorithm>

Functions

static void GetCount (const TopoDS_Shape &aS, Standard_Integer &iCnt)
 
static void CopySource (const TopoDS_Shape &aS, TopTools_IndexedDataMapOfShapeShape &aMapSS, TopoDS_Shape &aSC)
 
static Standard_Boolean comp (const std::pair< TopoDS_Shape, Standard_Real > &theA, const std::pair< TopoDS_Shape, Standard_Real > &theB)
 
static Standard_Boolean IsUiso (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace)
 
static void CorrectShell (const TopoDS_Shape &theShell, const TopoDS_Face &theFace)
 
static gp_Pnt GetMidPnt2d (const TopoDS_Face &theFace, const Standard_Boolean theIsNaturalRestrictions)
 
static void ModifyFacesForGlobalResult (const TopoDS_Face &theInputFace, const Standard_Real theAverageArea, const Standard_Boolean theIsToAddFaces, Standard_Integer &theNbExtremalFaces, TopTools_MapOfShape &theExtremalFaces, const std::vector< std::pair< TopoDS_Shape, Standard_Real >> theFacesAndAreas, const TopTools_DataMapOfShapeReal &theFaceAreaMap, const TopTools_IndexedDataMapOfShapeListOfShape &theEFmap, TopoDS_Shape &theRes, TopoDS_Shape &theGlobalRes, TopTools_MapOfShape &theRemovedFaces)
 

Function Documentation

◆ comp()

Standard_Boolean comp ( const std::pair< TopoDS_Shape, Standard_Real > &  theA,
const std::pair< TopoDS_Shape, Standard_Real > &  theB 
)
static

◆ CopySource()

void CopySource ( const TopoDS_Shape &  aS,
TopTools_IndexedDataMapOfShapeShape &  aMapSS,
TopoDS_Shape &  aSC 
)
static

◆ CorrectShell()

void CorrectShell ( const TopoDS_Shape &  theShell,
const TopoDS_Face &  theFace 
)
static

References Handle().

◆ GetCount()

void GetCount ( const TopoDS_Shape &  aS,
Standard_Integer &  iCnt 
)
static

◆ GetMidPnt2d()

gp_Pnt GetMidPnt2d ( const TopoDS_Face &  theFace,
const Standard_Boolean  theIsNaturalRestrictions 
)
static

◆ IsUiso()

Standard_Boolean IsUiso ( const TopoDS_Edge &  theEdge,
const TopoDS_Face &  theFace 
)
static

◆ ModifyFacesForGlobalResult()

void ModifyFacesForGlobalResult ( const TopoDS_Face &  theInputFace,
const Standard_Real  theAverageArea,
const Standard_Boolean  theIsToAddFaces,
Standard_Integer &  theNbExtremalFaces,
TopTools_MapOfShape &  theExtremalFaces,
const std::vector< std::pair< TopoDS_Shape, Standard_Real >>  theFacesAndAreas,
const TopTools_DataMapOfShapeReal &  theFaceAreaMap,
const TopTools_IndexedDataMapOfShapeListOfShape &  theEFmap,
TopoDS_Shape &  theRes,
TopoDS_Shape &  theGlobalRes,
TopTools_MapOfShape &  theRemovedFaces 
)
static

References CorrectShell(), and IsUiso().