#pragma once #include "DbBlockAction.h" /** \details Base class for the actions that need a base point to act (scale, rotate) */ class DYNBLOCKS_EXPORT OdDbBlockActionWithBasePt : public OdDbBlockAction { public: ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockActionWithBasePt); /** \details Returns the action base point */ OdGePoint3d basePoint() const; /** \details Sets the action base point */ void setBasePoint(OdGePoint3d const&); /** \details Returns the action base point offset */ OdGeVector3d basePointOffset() const; /** \details Sets the action base point offset (offset is not affected by transformBy()) */ void setBasePointOffset(OdGeVector3d const&); /** \details Returns the if the base point value should be taken from connection */ bool dependent() const; /** \details Sets the if the base point value should be taken from connection */ void setDependent(bool); }; typedef OdSmartPtr OdDbBlockActionWithBasePtPtr;