37 double* errorFactorPtr =
NULL)
override;
41 double* errorFactorPtr =
NULL)
override;
46 double* errorFactorPtr =
NULL)
const override;
51 double* errorFactorPtr =
NULL)
const override;
90 return translatedPosition;
Base class for 2D-objects implementing interface i2d::IObject2d.
Definition of graphical point object.
CPosition2d GetTranslated(const i2d::CVector2d &vector) const
const CVector2d & GetPosition() const
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
virtual bool GetTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const override
Calulate transformation of the object into second one.
virtual CRectangle GetBoundingBox() const override
Get bounding box of this shape.
virtual bool IsEqual(const istd::IChangeable &object) const override
Compare this object with another object.
static QByteArray GetTypeName()
virtual QByteArray GetFactoryId() const override
void SetPosition(const CVector2d &position)
virtual CVector2d GetCenter() const override
Returns center of this 2D-object.
virtual bool InvTransform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) override
Do inverse transformation of this object.
virtual void MoveCenterTo(const CVector2d &position) override
Move object to position position.
virtual bool Transform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) override
Transform this object using some transformation.
virtual istd::TUniqueInterfacePtr< istd::IChangeable > CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
virtual bool GetInvTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const override
Calulate inverse transformation of the object into second one.
void Translate(const i2d::CVector2d &vector)
CPosition2d(const CVector2d ¢er)
virtual int GetSupportedOperations() const override
Get set of flags for supported operations.
Definition of rectangle area orthogonal to axis of coordination system.
Definition of position or mathematical vector on 2D plane.
Common interface for describing the 2D-objects.
Represents an input/output persistence archive for object serialization.
Common interface for data model objects, which can be changed.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Unique ownership smart pointer for interface types.