2 #ifndef _GEOMImpl_ITransformOperations_HXX_
3 #define _GEOMImpl_ITransformOperations_HXX_
5 #include "Utils_SALOME_Exception.hxx"
6 #include "GEOM_IOperations.hxx"
7 #include "GEOM_Engine.hxx"
8 #include "GEOM_Object.hxx"
9 #include <TDocStd_Document.hxx>
11 class GEOMImpl_ITransformOperations : public GEOM_IOperations {
13 GEOMImpl_ITransformOperations(GEOM_Engine* theEngine, int theDocID);
14 ~GEOMImpl_ITransformOperations();
16 Handle(GEOM_Object) TranslateTwoPoints (Handle(GEOM_Object) theObject,
17 Handle(GEOM_Object) thePoint1,
18 Handle(GEOM_Object) thePoint2);
20 Handle(GEOM_Object) TranslateTwoPointsCopy (Handle(GEOM_Object) theObject,
21 Handle(GEOM_Object) thePoint1,
22 Handle(GEOM_Object) thePoint2);
24 Handle(GEOM_Object) TranslateDXDYDZ (Handle(GEOM_Object) theObject, double theX, double theY, double theZ);
26 Handle(GEOM_Object) TranslateDXDYDZCopy (Handle(GEOM_Object) theObject, double theX, double theY, double theZ);
28 Handle(GEOM_Object) TranslateVector (Handle(GEOM_Object) theObject,
29 Handle(GEOM_Object) theVector);
31 Handle(GEOM_Object) TranslateVectorCopy (Handle(GEOM_Object) theObject,
32 Handle(GEOM_Object) theVector);
34 Handle(GEOM_Object) Translate1D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector, double theStep, Standard_Integer theNbTimes);
36 Handle(GEOM_Object) Translate2D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector, double theStep1, Standard_Integer theNbTimes1,
37 Handle(GEOM_Object) theVector2, double theStep2, Standard_Integer theNbTimes2);
39 Handle(GEOM_Object) MirrorPlane (Handle(GEOM_Object) theObject,
40 Handle(GEOM_Object) thePlane);
42 Handle(GEOM_Object) MirrorPlaneCopy (Handle(GEOM_Object) theObject,
43 Handle(GEOM_Object) thePlane);
45 Handle(GEOM_Object) MirrorAxis (Handle(GEOM_Object) theObject,
46 Handle(GEOM_Object) theAxis);
48 Handle(GEOM_Object) MirrorAxisCopy (Handle(GEOM_Object) theObject,
49 Handle(GEOM_Object) theAxis);
51 Handle(GEOM_Object) MirrorPoint (Handle(GEOM_Object) theObject,
52 Handle(GEOM_Object) thePoint);
54 Handle(GEOM_Object) MirrorPointCopy (Handle(GEOM_Object) theObject,
55 Handle(GEOM_Object) thePoint);
57 Handle(GEOM_Object) OffsetShape (Handle(GEOM_Object) theObject,
60 Handle(GEOM_Object) OffsetShapeCopy (Handle(GEOM_Object) theObject,
63 Handle(GEOM_Object) ScaleShape (Handle(GEOM_Object) theObject,
64 Handle(GEOM_Object) thePoint,
67 Handle(GEOM_Object) ScaleShapeCopy (Handle(GEOM_Object) theObject,
68 Handle(GEOM_Object) thePoint,
71 Handle(GEOM_Object) PositionShape (Handle(GEOM_Object) theObject,
72 Handle(GEOM_Object) theStartLCS,
73 Handle(GEOM_Object) theEndLCS);
75 Handle(GEOM_Object) PositionShapeCopy (Handle(GEOM_Object) theObject,
76 Handle(GEOM_Object) theStartLCS,
77 Handle(GEOM_Object) theEndLCS);
79 Handle(GEOM_Object) Rotate (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, double theAngle);
81 Handle(GEOM_Object) RotateCopy (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, double theAngle);
83 Handle(GEOM_Object) Rotate1D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, Standard_Integer theNbTimes);
85 Handle(GEOM_Object) Rotate2D (Handle(GEOM_Object) theObject,
86 Handle(GEOM_Object) theAxis,
88 Standard_Integer theNbTimes1,
90 Standard_Integer theNbTimes2);