- size_t myNumberOfObjects; ///< number of previous initial objects
- size_t myNumberOfCopies; ///< number of previous copies of initial objects
- Slvs_hEntity myTranslationLine; ///< ID of translation line
+ /// \brief Convert absolute coordinates to relative coordinates
+ virtual void getRelative(double theAbsX, double theAbsY, double& theRelX, double& theRelY);
+ /// \brief Convert relative coordinates to absolute coordinates
+ virtual void getAbsolute(double theRelX, double theRelY, double& theAbsX, double& theAbsY);
+ /// \brief Apply transformation for relative coordinates
+ virtual void transformRelative(double& theX, double& theY);
+
+ /// \brief Returns name of NUMBER_OF_COPIES parameter for corresponding feature
+ virtual const std::string& nameNbObjects();
+
+private:
+ AttributePoint2DPtr myStartPointAttribute;
+ AttributePoint2DPtr myEndPointAttribute;
+
+ double myDelta[2]; ///< increment of translation