![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
#include <CSplineSegment.h>
Public Member Functions | |
virtual i2d::CVector2d | GetPointInSegment (double position) const |
Get point. | |
virtual i2d::CVector2d | GetDerivationInSegment (double position) const |
Get derivation. | |
virtual i2d::CVector2d | GetDerivationBegin () const |
Get derivation in begin point. | |
virtual i2d::CVector2d | GetDerivationEnd () const |
Get derivation in end point. | |
virtual i2d::CVector2d | GetPointBegin () const |
Get begin point. | |
virtual i2d::CVector2d | GetPointEnd () const |
Get end point. | |
virtual i2d::CVector2d | GetBezierPointBegin () const |
Get first Bezier's control point. | |
virtual i2d::CVector2d | GetBezierPointEnd () const |
Get second Bezier's control point. | |
virtual bool | IsCloserThan (const i2d::CVector2d position, double distance) const |
Check, if segment is closer than specifier distance. | |
virtual void | GetHalfSegmentFirst (CSplineSegment &result) const |
Get a first half segment. | |
virtual void | GetHalfSegmentSecond (CSplineSegment &result) const |
Get a second half segment. | |
const i2d::CVector2d & | A () const |
void | A (const i2d::CVector2d &value) |
const i2d::CVector2d & | B () const |
void | B (const i2d::CVector2d &value) |
const i2d::CVector2d & | C () const |
void | C (const i2d::CVector2d &value) |
const i2d::CVector2d & | D () const |
void | D (const i2d::CVector2d &value) |
int | GetSupportedOperations () const override |
Get set of flags for supported operations. | |
bool | CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override |
std::unique_ptr< istd::IChangeable > | CloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const override |
Make a copy of this object. | |
![]() | |
virtual bool | CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) |
Copy this object from another one. | |
virtual bool | IsEqual (const IChangeable &object) const |
Compare this object with another object. | |
virtual bool | ResetData (CompatibilityMode mode=CM_WITHOUT_REFS) |
Reset data to its default state. | |
virtual QMutex * | GetChangesLock () const |
Get mutex beeing locked during changes, if available. | |
virtual void | BeginChanges (const ChangeSet &changeSet) |
Starts the change transaction. | |
virtual void | EndChanges (const ChangeSet &changeSet) |
Ends the change transaction. | |
virtual void | BeginChangeGroup (const ChangeSet &changeSet) |
Starts group of changes. | |
virtual void | EndChangeGroup (const ChangeSet &changeSet) |
Ends group of changes. | |
Additional Inherited Members | |
![]() | |
enum | ChangeFlags { CF_ICF_INTERNAL = 0 , CF_ALL_DATA , CF_ANY , CF_DESTROYING , CF_DELEGATED , CF_NO_UNDO } |
Data model change notification flags. More... | |
enum | SupportedOperations { SO_NONE = 0 , SO_OBSERVE = 1 << 0 , SO_COPY = 1 << 1 , SO_CLONE = 1 << 2 , SO_COMPARE = 1 << 3 , SO_RESET = 1 << 4 , SO_CHANGE_LOCK = 1 << 5 } |
Flags for supported operations. More... | |
enum | CompatibilityMode { CM_STRICT , CM_WITHOUT_REFS , CM_WITH_REFS , CM_CONVERT } |
Control how relationship betweeen objects are interpreted. More... | |
![]() | |
static const ChangeSet & | GetNoChanges () |
Get empty set of changes. | |
static const ChangeSet & | GetAnyChange () |
Get anonymous change set. | |
static const ChangeSet & | GetAllChanges () |
Get anonymous change set. | |
static const ChangeSet & | GetDelegatedChanges () |
Get delegated change set. | |
![]() | |
virtual void | OnBeginChanges () |
Callback function for begin change event. | |
virtual void | OnEndChanges (const ChangeSet &changeSet) |
Callback function for end change event. | |
Definition at line 19 of file CSplineSegment.h.
|
inline |
Definition at line 170 of file CSplineSegment.h.
|
inline |
Definition at line 176 of file CSplineSegment.h.
|
inline |
Definition at line 182 of file CSplineSegment.h.
|
inline |
Definition at line 188 of file CSplineSegment.h.
|
inline |
Definition at line 194 of file CSplineSegment.h.
|
inline |
Definition at line 200 of file CSplineSegment.h.
|
overridevirtual |
Make a copy of this object.
You may check, if this functionality is supported over GetSupportedOperations()
.
Reimplemented from istd::IChangeable.
|
override |
|
inline |
Definition at line 206 of file CSplineSegment.h.
|
inline |
Definition at line 212 of file CSplineSegment.h.
|
inlinevirtual |
Get first Bezier's control point.
Definition at line 138 of file CSplineSegment.h.
|
inlinevirtual |
Get second Bezier's control point.
Definition at line 144 of file CSplineSegment.h.
|
inlinevirtual |
Get derivation in begin point.
Definition at line 114 of file CSplineSegment.h.
|
inlinevirtual |
Get derivation in end point.
Definition at line 120 of file CSplineSegment.h.
|
inlinevirtual |
Get derivation.
position | Position in segment. Must be in range [0, 1], where 0 is begin, and 1 is end of segment. |
Definition at line 108 of file CSplineSegment.h.
|
inlinevirtual |
Get a first half segment.
Definition at line 150 of file CSplineSegment.h.
|
inlinevirtual |
Get a second half segment.
Definition at line 159 of file CSplineSegment.h.
|
inlinevirtual |
Get begin point.
Definition at line 126 of file CSplineSegment.h.
|
inlinevirtual |
Get end point.
Definition at line 132 of file CSplineSegment.h.
|
inlinevirtual |
Get point.
position | Position in segment. Must be in range [0, 1], where 0 is begin, and 1 is end of segment. |
Definition at line 102 of file CSplineSegment.h.
|
overridevirtual |
Get set of flags for supported operations.
Reimplemented from istd::IChangeable.
|
virtual |
Check, if segment is closer than specifier distance.
© Witold Gantzke and Kirill Lepskiy