Version: 9.12.0
AdvancedEngine_PipeTShapeDriver.cxx File Reference
#include "AdvancedEngine_PipeTShapeDriver.hxx"
#include "AdvancedEngine_IPipeTShape.hxx"
#include "AdvancedEngine_Types.hxx"
#include "AdvancedEngine_IOperations.hxx"
#include "GEOMImpl_Block6Explorer.hxx"
#include "GEOM_Function.hxx"
#include "GEOM_IOperations.hxx"
#include "GEOMUtils.hxx"
#include "GEOMAlgo_FinderShapeOn2.hxx"
#include "GEOMAlgo_ClsfBox.hxx"
#include "GEOMAlgo_ClsfSurf.hxx"
#include "GEOMAlgo_Splitter.hxx"
#include "Geom_CylindricalSurface.hxx"
#include <gp_Pnt.hxx>
#include <gp_Vec.hxx>
#include <gp_Ax2.hxx>
#include <gp_Pln.hxx>
#include <gp_Dir.hxx>
#include <gp_Trsf.hxx>
#include <StdFail_NotDone.hxx>
#include <BRepPrimAPI_MakeCone.hxx>
#include <BRepPrimAPI_MakeCylinder.hxx>
#include <BRepAlgoAPI_Fuse.hxx>
#include <BRepAlgoAPI_Cut.hxx>
#include <BRepPrimAPI_MakeBox.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepBuilderAPI_Transform.hxx>
#include <BRepFilletAPI_MakeFillet.hxx>
#include <BRepFilletAPI_MakeChamfer.hxx>
#include <BRep_Builder.hxx>
#include <TopoDS_Compound.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <BRep_Tool.hxx>
#include <BRepTools.hxx>
#include <TopoDS.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <vector>

Macros

#define FIX_CURVES_TOLERANCES
 

Functions

 Handle (TColStd_HSequenceOfInteger) AdvancedEngine_PipeTShapeDriver
 Find IDs of sub-shapes complying with given status about surface. More...
 

Macro Definition Documentation

◆ FIX_CURVES_TOLERANCES

#define FIX_CURVES_TOLERANCES

Function Documentation

◆ Handle()

Handle ( TColStd_HSequenceOfInteger  )

Find IDs of sub-shapes complying with given status about quadrangle.

Find sub-shapes complying with given status about surface.

Parameters
theBox- the box to check state of sub-shapes against
theShape- the shape to explore
theShapeType- type of sub-shape of theShape
theState- required state
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes

Find IDs of sub-shapes complying with given status about surface

Parameters
theSurface- the surface to check state of sub-shapes against
theShape- the shape to explore
theShapeType- type of sub-shape of theShape
theState- required state
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes

Returns a name of creation operation and names and values of creation parameters

GetSubShapeIndices

GetFreeFacesIDs

Parameters
theBox- the box to check state of sub-shapes against
theShape- the shape to explore
theShapeType- type of sub-shape of theShape
theState- required state
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes
Parameters
theCheckShape- the shape to check state of sub-shapes against
theShape- the shape to explore
theShapeType- type of sub-shape of theShape
theState- required state
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes
Parameters
theSurface- the surface to check state of sub-shapes against
theShape- the shape to explore
theShapeType- type of sub-shape of theShape
theState- required state
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes

getSubShapeEdgeSortedIDs

GetShapesOnPlaneIDs

GetShapesOnPlaneWithLocationIDs

GetShapesOnCylinderIDs

GetShapesOnCylinderWithLocationIDs

GetShapesOnSphereIDs

Parameters
theShape- the shape to explore
theShapeType- type of sub-shape of theShape
theTopLeftPoint- top left quadrangle corner
theTopRightPoint- top right quadrangle corner
theBottomLeftPoint- bottom left quadrangle corner
theBottomRightPoint- bottom right quadrangle corner
theState- required state
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes

References GEOMUtils::CheckTriangulation(), GEOMAlgo_Algo::ErrorStatus(), NOT_FOUND_ANY, GEOMAlgo_FinderShapeOn2::Perform(), GEOMAlgo_FinderShapeOn2::SetClsf(), GEOMAlgo_ShapeAlgo::SetShape(), GEOMAlgo_FinderShapeOn2::SetShapeType(), GEOMAlgo_FinderShapeOn2::SetState(), GEOMAlgo_ShapeAlgo::SetTolerance(), and GEOMAlgo_FinderShapeOn2::Shapes().