mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-16 10:38:34 +05:00
63 lines
2.2 KiB
C++
63 lines
2.2 KiB
C++
|
|
||
|
#ifndef _GEOMImpl_IShapesOperations_HXX_
|
||
|
#define _GEOMImpl_IShapesOperations_HXX_
|
||
|
|
||
|
#include "GEOM_IOperations.hxx"
|
||
|
|
||
|
#include <TopTools_ListOfShape.hxx>
|
||
|
#include <TColStd_HSequenceOfTransient.hxx>
|
||
|
|
||
|
#include <list>
|
||
|
|
||
|
class GEOM_Engine;
|
||
|
class Handle(GEOM_Object);
|
||
|
class Handle(TColStd_HArray1OfInteger);
|
||
|
|
||
|
class GEOMImpl_IShapesOperations : public GEOM_IOperations {
|
||
|
public:
|
||
|
GEOMImpl_IShapesOperations(GEOM_Engine* theEngine, int theDocID);
|
||
|
~GEOMImpl_IShapesOperations();
|
||
|
|
||
|
Handle(GEOM_Object) MakeEdge (Handle(GEOM_Object) thePoint1,
|
||
|
Handle(GEOM_Object) thePoint2);
|
||
|
|
||
|
Handle(GEOM_Object) MakeWire (list<Handle(GEOM_Object)> theEdgesAndWires);
|
||
|
|
||
|
Handle(GEOM_Object) MakeFace (Handle(GEOM_Object) theWire, bool isPlanarWanted);
|
||
|
|
||
|
Handle(GEOM_Object) MakeFaceWires (list<Handle(GEOM_Object)> theWires, bool isPlanarWanted);
|
||
|
|
||
|
Handle(GEOM_Object) MakeShell (list<Handle(GEOM_Object)> theShapes);
|
||
|
|
||
|
Handle(GEOM_Object) MakeSolidShell (Handle(GEOM_Object) theShell);
|
||
|
|
||
|
Handle(GEOM_Object) MakeSolidShells (list<Handle(GEOM_Object)> theShells);
|
||
|
|
||
|
Handle(GEOM_Object) MakeCompound (list<Handle(GEOM_Object)> theShapes);
|
||
|
|
||
|
Handle(GEOM_Object) MakeGlueFaces (Handle(GEOM_Object) theShape,
|
||
|
const Standard_Real theTolerance);
|
||
|
|
||
|
Handle(TColStd_HSequenceOfTransient) MakeExplode (Handle(GEOM_Object) theShape,
|
||
|
const Standard_Integer theShapeType,
|
||
|
const Standard_Boolean isSorted);
|
||
|
|
||
|
Handle(GEOM_Object) GetSubShape (Handle(GEOM_Object) theMainShape,
|
||
|
const Standard_Integer theID);
|
||
|
|
||
|
Standard_Integer NumberOfFaces (Handle(GEOM_Object) theShape);
|
||
|
Standard_Integer NumberOfEdges (Handle(GEOM_Object) theShape);
|
||
|
|
||
|
Handle(GEOM_Object) ReverseShape(Handle(GEOM_Object) theShapes);
|
||
|
|
||
|
static void SortShapes (TopTools_ListOfShape& SL);
|
||
|
|
||
|
private:
|
||
|
Handle(GEOM_Object) MakeShape (list<Handle(GEOM_Object)> theShapes,
|
||
|
const Standard_Integer theObjectType,
|
||
|
const Standard_Integer theFunctionType,
|
||
|
const TCollection_AsciiString theMethodName);
|
||
|
};
|
||
|
|
||
|
#endif
|