2004-12-01 15:39:14 +05:00
|
|
|
|
|
|
|
#ifndef _GEOMImpl_ITransformOperations_HXX_
|
|
|
|
#define _GEOMImpl_ITransformOperations_HXX_
|
|
|
|
|
|
|
|
#include "Utils_SALOME_Exception.hxx"
|
|
|
|
#include "GEOM_IOperations.hxx"
|
|
|
|
#include "GEOM_Engine.hxx"
|
|
|
|
#include "GEOM_Object.hxx"
|
|
|
|
#include <TDocStd_Document.hxx>
|
|
|
|
|
|
|
|
class GEOMImpl_ITransformOperations : public GEOM_IOperations {
|
|
|
|
public:
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT GEOMImpl_ITransformOperations(GEOM_Engine* theEngine, int theDocID);
|
|
|
|
Standard_EXPORT ~GEOMImpl_ITransformOperations();
|
2004-12-01 15:39:14 +05:00
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) TranslateTwoPoints (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) thePoint1,
|
|
|
|
Handle(GEOM_Object) thePoint2);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) TranslateTwoPointsCopy (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) thePoint1,
|
|
|
|
Handle(GEOM_Object) thePoint2);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) TranslateDXDYDZ (Handle(GEOM_Object) theObject, double theX, double theY, double theZ);
|
2004-12-01 15:39:14 +05:00
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) TranslateDXDYDZCopy (Handle(GEOM_Object) theObject, double theX, double theY, double theZ);
|
2004-12-01 15:39:14 +05:00
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) TranslateVector (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) theVector);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) TranslateVectorCopy (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) theVector);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) Translate1D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector, double theStep, Standard_Integer theNbTimes);
|
2004-12-01 15:39:14 +05:00
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) Translate2D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector, double theStep1, Standard_Integer theNbTimes1,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) theVector2, double theStep2, Standard_Integer theNbTimes2);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) MirrorPlane (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) thePlane);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) MirrorPlaneCopy (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) thePlane);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) MirrorAxis (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) theAxis);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) MirrorAxisCopy (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) theAxis);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) MirrorPoint (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) thePoint);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) MirrorPointCopy (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) thePoint);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) OffsetShape (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
double theOffset);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) OffsetShapeCopy (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
double theOffset);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) ScaleShape (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) thePoint,
|
|
|
|
double theFactor);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) ScaleShapeCopy (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) thePoint,
|
|
|
|
double theFactor);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) PositionShape (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) theStartLCS,
|
|
|
|
Handle(GEOM_Object) theEndLCS);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) PositionShapeCopy (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) theStartLCS,
|
|
|
|
Handle(GEOM_Object) theEndLCS);
|
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) Rotate (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, double theAngle);
|
2004-12-01 15:39:14 +05:00
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) RotateCopy (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, double theAngle);
|
2004-12-01 15:39:14 +05:00
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) Rotate1D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, Standard_Integer theNbTimes);
|
2004-12-01 15:39:14 +05:00
|
|
|
|
2005-08-11 10:43:57 +06:00
|
|
|
Standard_EXPORT Handle(GEOM_Object) Rotate2D (Handle(GEOM_Object) theObject,
|
2004-12-01 15:39:14 +05:00
|
|
|
Handle(GEOM_Object) theAxis,
|
|
|
|
double theAngle,
|
|
|
|
Standard_Integer theNbTimes1,
|
|
|
|
double theStep,
|
|
|
|
Standard_Integer theNbTimes2);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|