91 bool m_isReflected =
false;
Definition of orinted rectangle being parallel to axes.
CVector2d GetOrientRightBottom() const
Get oriented right-bottom point of this rectangle.
bool IsAxisReflected() const
Check if this rectangle is reflected along the orientation axis.
bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
Orientation GetOrientation() const
Get orientation of this rectangle.
CVector2d GetOrientLeftTop() const
Get oriented left-top point of this rectangle.
CVector2d GetOrientRightTop() const
Get oriented right-top point of this rectangle.
bool IsOrientationHorizontal() const
Check if orientation is horizontal.
CVector2d GetOrientLeftBottom() const
Get oriented left-bottom point of this rectangle.
std::unique_ptr< istd::IChangeable > CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
void SetAxisReflected(bool state)
Set this rectangle to be reflected or not along the orientation axis.
void SetOrientation(Orientation orientation)
Set orientation of this rectangle.
Definition of rectangle area orthogonal to axis of coordination system.
Definition of position or mathematical vector on 2D plane.
Represent input/output persistence archive.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.