1 #ifndef i2d_CPolyline_included
2 #define i2d_CPolyline_included
32 virtual void SetClosed(
bool state =
true);
64 virtual bool IsEqual(
const IChangeable&
object)
const;
88 #endif // !i2d_CPolyline_included
Definition of the data model for a polygon.
External references are simple ignored.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
virtual double GetLength() const
Get length of this polyline.
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
virtual bool IsClosed() const
Definition of a line in 2D-space.
virtual istd::IChangeable * CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const
Make a copy of this object.
Represent input/output persistence archive.
Common interface for data model objects, which can be changed.
virtual void SetClosed(bool state=true)
Set polyline to be opened or closed.
virtual i2d::CVector2d GetKneeVector(int nodeIndex) const
Return vector for knee, that has the same angle to both neighbor segments.
virtual bool Serialize(iser::IArchive &archive)
Load or store state of this object as a archive stream.
Definition of position or mathematical vector on 2D plane.
virtual bool IsEqual(const IChangeable &object) const
static QByteArray GetTypeName()
virtual i2d::CLine2d GetSegmentLine(int segmentIndex) const
Return number of line segments.
virtual int GetSegmentsCount() const
Return number of line segments.
2D-object representing a polyline.
virtual QByteArray GetFactoryId() const