Version: 9.12.0
BlockFix_UnionFaces.cxx File Reference
#include <BlockFix_UnionFaces.hxx>
#include <Basics_OCCTVersion.hxx>
#include <ShapeAnalysis_WireOrder.hxx>
#include <ShapeAnalysis_Edge.hxx>
#include <ShapeBuild_Edge.hxx>
#include <ShapeBuild_ReShape.hxx>
#include <ShapeExtend_WireData.hxx>
#include <ShapeExtend_CompositeSurface.hxx>
#include <ShapeFix_Face.hxx>
#include <ShapeFix_ComposeShell.hxx>
#include <ShapeFix_SequenceOfWireSegment.hxx>
#include <ShapeFix_WireSegment.hxx>
#include <ShapeFix_Wire.hxx>
#include <ShapeFix_Edge.hxx>
#include <IntPatch_ImpImpIntersection.hxx>
#include <BRep_Tool.hxx>
#include <BRep_Builder.hxx>
#include <BRepTools.hxx>
#include <BRepTopAdaptor_TopolTool.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_SequenceOfShape.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_MapIteratorOfMapOfShape.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Wire.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Solid.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Shell.hxx>
#include <TopoDS_Iterator.hxx>
#include <TopoDS_Shape.hxx>
#include <TColGeom_HArray2OfSurface.hxx>
#include <GeomAdaptor_HSurface.hxx>
#include <GeomLib_IsPlanarSurface.hxx>
#include <Geom_Surface.hxx>
#include <Geom_Plane.hxx>
#include <Geom_OffsetSurface.hxx>
#include <Geom_SphericalSurface.hxx>
#include <Geom_CylindricalSurface.hxx>
#include <Geom_SurfaceOfRevolution.hxx>
#include <Geom_SurfaceOfLinearExtrusion.hxx>
#include <Geom_RectangularTrimmedSurface.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRepAdaptor_HSurface.hxx>
#include <LocalAnalysis_SurfaceContinuity.hxx>
#include <GeomConvert_ApproxSurface.hxx>
#include <Bnd_Box.hxx>
#include <BRepBndLib.hxx>
#include <Geom_TrimmedCurve.hxx>
#include <Geom_Curve.hxx>
#include <Geom_Line.hxx>
#include <Geom_Circle.hxx>
#include <Geom2d_Line.hxx>
#include <gp_XY.hxx>
#include <gp_Pnt2d.hxx>
#include <Standard_Failure.hxx>
#include <Standard_ErrorHandler.hxx>

Functions

static Standard_Boolean AddOrdinaryEdges (TopTools_SequenceOfShape &edges, const TopoDS_Shape aShape, Standard_Integer &anIndex)
 
static Handle (Geom_Surface) ClearRts(const Handle(Geom_Surface) &aSurface)
 
static Standard_Boolean IsFacesOfSameSolids (const TopoDS_Face &theFace1, const TopoDS_Face &theFace2, const TopTools_IndexedDataMapOfShapeListOfShape &theMapFaceSolids)
 
static Standard_Real DefineMaxTolerance (const TopoDS_Shape &theShape)
 
static Standard_Boolean IsTangentFaces (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace)
 
static Standard_Boolean HasSeamEdge (const TopoDS_Face &theFace)
 
static Standard_Boolean IsEdgeValidToMerge (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, const Handle(Geom_Surface)&theSurface, Standard_Boolean &theIsEdgeOnSeam, Standard_Boolean &theToMakeUPeriodic, Standard_Boolean &theToMakeVPeriodic)
 
bool getCylinder (Handle(Geom_Surface)&theInSurface, gp_Cylinder &theOutCylinder)
 

Function Documentation

◆ AddOrdinaryEdges()

static Standard_Boolean AddOrdinaryEdges ( TopTools_SequenceOfShape &  edges,
const TopoDS_Shape  aShape,
Standard_Integer &  anIndex 
)
static

◆ DefineMaxTolerance()

static Standard_Real DefineMaxTolerance ( const TopoDS_Shape &  theShape)
static

◆ getCylinder()

bool getCylinder ( Handle(Geom_Surface)&  theInSurface,
gp_Cylinder &  theOutCylinder 
)

References Handle().

◆ Handle()

static Handle ( Geom_Surface  ) const &
static

◆ HasSeamEdge()

static Standard_Boolean HasSeamEdge ( const TopoDS_Face &  theFace)
static

◆ IsEdgeValidToMerge()

static Standard_Boolean IsEdgeValidToMerge ( const TopoDS_Edge &  theEdge,
const TopoDS_Face &  theFace,
const Handle(Geom_Surface)&  theSurface,
Standard_Boolean &  theIsEdgeOnSeam,
Standard_Boolean &  theToMakeUPeriodic,
Standard_Boolean &  theToMakeVPeriodic 
)
static

References Handle(), and IsTangentFaces().

◆ IsFacesOfSameSolids()

static Standard_Boolean IsFacesOfSameSolids ( const TopoDS_Face &  theFace1,
const TopoDS_Face &  theFace2,
const TopTools_IndexedDataMapOfShapeListOfShape &  theMapFaceSolids 
)
static

References isSame().

◆ IsTangentFaces()

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

References Handle().