20 #ifndef GeomAPI_Trsf_H_
21 #define GeomAPI_Trsf_H_
23 #include <GeomAPI_Interface.h>
47 GEOMAPI_EXPORT
void setTranslation(
const std::shared_ptr<GeomAPI_Ax1> theAxis,
48 const double theDistance);
63 GEOMAPI_EXPORT
void setTranslation(
const std::shared_ptr<GeomAPI_Pnt> theStartPoint,
64 const std::shared_ptr<GeomAPI_Pnt> theEndPoint);
70 GEOMAPI_EXPORT
void setRotation(
const std::shared_ptr<GeomAPI_Ax1> theAxis,
71 const double theAngle);
78 GEOMAPI_EXPORT
void setRotation(
const std::shared_ptr<GeomAPI_Pnt> theCenterPoint,
79 const std::shared_ptr<GeomAPI_Pnt> theStartPoint,
80 const std::shared_ptr<GeomAPI_Pnt> theEndPoint);
85 GEOMAPI_EXPORT
void setSymmetry(
const std::shared_ptr<GeomAPI_Pnt> thePoint);
90 GEOMAPI_EXPORT
void setSymmetry(
const std::shared_ptr<GeomAPI_Ax1> theAxis);
95 GEOMAPI_EXPORT
void setSymmetry(
const std::shared_ptr<GeomAPI_Ax2> thePlane);
101 GEOMAPI_EXPORT
void setScale(
const std::shared_ptr<GeomAPI_Pnt>& theCenter,
102 const double theScale);
106 typedef std::shared_ptr<GeomAPI_Trsf> GeomTrsfPtr;
The class represents an axis in 3D space.
Definition: GeomAPI_Ax1.h:31
The class represents an axis in 3D space.
Definition: GeomAPI_Ax2.h:31
General base class for all interfaces in this package.
Definition: GeomAPI_Interface.h:38
3D point defined by three coordinates
Definition: GeomAPI_Pnt.h:38
Keep the transformation matrix coefficients.
Definition: GeomAPI_Trsf.h:36
GEOMAPI_EXPORT GeomAPI_Trsf()
Keeps no transformation, it may be set by setImpl.
Definition: GeomAPI_Trsf.cpp:35
GEOMAPI_EXPORT void setTranslation(const std::shared_ptr< GeomAPI_Ax1 > theAxis, const double theDistance)
Sets a translation transformation.
Definition: GeomAPI_Trsf.cpp:47
GEOMAPI_EXPORT void setScale(const std::shared_ptr< GeomAPI_Pnt > &theCenter, const double theScale)
Sets the scaling transformation.
Definition: GeomAPI_Trsf.cpp:111
GEOMAPI_EXPORT void setRotation(const std::shared_ptr< GeomAPI_Ax1 > theAxis, const double theAngle)
Sets a rotation transformation.
Definition: GeomAPI_Trsf.cpp:67
GEOMAPI_EXPORT void setSymmetry(const std::shared_ptr< GeomAPI_Pnt > thePoint)
Sets a point symmetry transformation.
Definition: GeomAPI_Trsf.cpp:93