Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOMImpl_IShapesOperations.cxx File Reference
#include "GEOMImpl_IShapesOperations.hxx"
#include "GEOMImpl_Types.hxx"
#include "GEOMImpl_VectorDriver.hxx"
#include "GEOMImpl_ShapeDriver.hxx"
#include "GEOMImpl_GlueDriver.hxx"
#include "GEOMImpl_FillingDriver.hxx"
#include "GEOMImpl_IExtract.hxx"
#include "GEOMImpl_IVector.hxx"
#include "GEOMImpl_IShapes.hxx"
#include "GEOMImpl_IShapeExtend.hxx"
#include "GEOMImpl_IGlue.hxx"
#include "GEOMImpl_IFilling.hxx"
#include "GEOMImpl_Block6Explorer.hxx"
#include "GEOMImpl_IHealingOperations.hxx"
#include "GEOMImpl_Gen.hxx"
#include "GEOM_Function.hxx"
#include "GEOM_ISubShape.hxx"
#include "GEOM_PythonDump.hxx"
#include "GEOMUtils.hxx"
#include "GEOMAlgo_ClsfBox.hxx"
#include "GEOMAlgo_ClsfQuad.hxx"
#include "GEOMAlgo_ClsfSolid.hxx"
#include "GEOMAlgo_ClsfSurf.hxx"
#include "GEOMAlgo_FinderShapeOn2.hxx"
#include "GEOMAlgo_GetInPlace.hxx"
#include "GEOMAlgo_GetInPlaceAPI.hxx"
#include "GEOMAlgo_GlueDetector.hxx"
#include <utilities.h>
#include <BRepAdaptor_Curve.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRepTools.hxx>
#include <BRep_Builder.hxx>
#include <BRep_Tool.hxx>
#include <GeomLib_Tool.hxx>
#include <Geom_CylindricalSurface.hxx>
#include <Geom_Plane.hxx>
#include <Geom_SphericalSurface.hxx>
#include <Geom_Surface.hxx>
#include <Geom_TrimmedCurve.hxx>
#include <Precision.hxx>
#include <TDF_Tool.hxx>
#include <TDataStd_Integer.hxx>
#include <TDataStd_ListIteratorOfListOfExtendedString.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_MapOfOrientedShape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_SequenceOfShape.hxx>
#include <TopoDS.hxx>
#include <TopoDS_TShape.hxx>
#include <TopoDS_Compound.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Iterator.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Solid.hxx>
#include <TopoDS_Vertex.hxx>
#include <gp_Cylinder.hxx>
#include <gp_Pnt.hxx>
#include <vector>
#include <Standard_Failure.hxx>
#include <Standard_ErrorHandler.hxx>

Functions

 Handle (GEOM_Object) GEOMImpl_IShapesOperations
 
 Handle (TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations
 Find sub-shapes complying with given status about surface. More...
 
 Handle (TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations
 Find IDs of sub-shapes complying with given status about surface. More...
 
static GEOM::TPythonDumpoperator<< (GEOM::TPythonDump &theDump, const GEOMAlgo_State theState)
 
 Handle (Geom_Surface) GEOMImpl_IShapesOperations
 Creates Geom_Plane. More...
 
static bool isSameEdge (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2)
 
static bool isSameFace (const TopoDS_Face &theFace1, const TopoDS_Face &theFace2)
 
bool isSameSolid (const TopoDS_Solid &theSolid1, const TopoDS_Solid &theSolid2)
 

Function Documentation

Handle ( GEOM_Object  )

MakeEdge

MakeEdgeOnCurveByLength

MakeEdgeWire

MakeWire

MakeFace

MakeFaceWires

MakeFaceFromSurface

MakeFaceWithConstraints

MakeShell

MakeSolidShells

MakeCompound

MakeShape

MakeSolidFromConnectedFaces

MakeGlueFaces

GetGlueFaces

MakeGlueFacesByList

MakeGlueEdges

MakeGlueEdgesByList

GetSubShape

ReverseShape

MakeExtraction

case GetInPlace: default:

case GetInPlaceOld: default:

References anEdge, GEOM_EDGE, GEOMImpl_VectorDriver::GetID(), Handle(), KO, NULL, OK, GEOMImpl_IVector::SetPoint1(), GEOMImpl_IVector::SetPoint2(), and VECTOR_TWO_PNT.

Handle ( TColStd_HSequenceOfTransient  )

Find sub-shapes complying with given status about quadrangle.

Find shape objects and their entries by their ids.

GetGlueShapes

GetExistingSubObjects

MakeExplode

MakeSubShapes

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_HSequenceOfTransient)- 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_HSequenceOfTransient)- found sub-shapes

GetSubShapeEdgeSorted

GetSubShapesWithTolerance

Parameters
theShapeIDs- incoming shape ids
theShapeEntries- outgoing entries like "entry1, entry2, ..."
Return values
Handle(TColStd_HSequenceOfTransient)- found shape objects
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
theShapeEntries- outgoing entries like "entry1, entry2, ..."
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes

GetShapesOnPlane

GetShapesOnPlaneWithLocation

GetShapesOnCylinder

GetShapesOnCylinderWithLocation

GetShapesOnSphere

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

References anIndices, GEOMAlgo_Algo::ErrorStatus(), Handle(), iErr, GEOMAlgo_GluerAlgo::Images(), KO, NULL, GEOMAlgo_GlueDetector::Perform(), GEOMAlgo_GluerAlgo::SetArgument(), GEOMAlgo_GluerAlgo::SetTolerance(), and GEOMUtils::SortShapes().

Handle ( TColStd_HSequenceOfInteger  )

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

Find sub-shapes complying with given status about surface.

SubShapeAllIDs

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
theTopRigthPoint- top right quadrangle corner
theBottomLeftPoint- bottom left quadrangle corner
theBottomRigthPoint- bottom right quadrangle corner
theState- required state
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes

References anIndices, Handle(), itSub(), GEOMUtils::SortShapes(), and TopAbs_FLAT.

Handle ( Geom_Surface  )

Creates Geom_CylindricalSurface.

Parameters
theAx1- shape object defining plane parameters
Return values
Handle(Geom_Surface)- resulting surface
Parameters
theAx1- edge defining cylinder axis
theRadius- cylinder radius
Return values
Handle(Geom_Surface)- resulting surface

References NULL, and GEOM::Vertices.

static bool isSameEdge ( const TopoDS_Edge &  theEdge1,
const TopoDS_Edge &  theEdge2 
)
static

References Curve(), Handle(), and GEOM::Vertices.

static bool isSameFace ( const TopoDS_Face &  theFace1,
const TopoDS_Face &  theFace2 
)
static

References Handle(), and isSameEdge().

bool isSameSolid ( const TopoDS_Solid &  theSolid1,
const TopoDS_Solid &  theSolid2 
)

References isSameFace().

static GEOM::TPythonDump& operator<< ( GEOM::TPythonDump theDump,
const GEOMAlgo_State  theState 
)
static