Public Member Functions | List of all members
i2d::CSplineSegment Class Reference

#include <CSplineSegment.h>

Inheritance diagram for i2d::CSplineSegment:
istd::IChangeable istd::IPolymorphic

Public Member Functions

virtual i2d::CVector2d GetPointInSegment (double position) const
 Get point. More...
 
virtual i2d::CVector2d GetDerivationInSegment (double position) const
 Get derivation. More...
 
virtual i2d::CVector2d GetDerivationBegin () const
 Get derivation in begin point. More...
 
virtual i2d::CVector2d GetDerivationEnd () const
 Get derivation in end point. More...
 
virtual i2d::CVector2d GetPointBegin () const
 Get begin point. More...
 
virtual i2d::CVector2d GetPointEnd () const
 Get end point. More...
 
virtual i2d::CVector2d GetBezierPointBegin () const
 Get first Bezier's control point. More...
 
virtual i2d::CVector2d GetBezierPointEnd () const
 Get second Bezier's control point. More...
 
virtual bool IsCloserThan (const i2d::CVector2d position, double distance) const
 Check, if segment is closer than specifier distance. More...
 
virtual void GetHalfSegmentFirst (CSplineSegment &result) const
 Get a first half segment. More...
 
virtual void GetHalfSegmentSecond (CSplineSegment &result) const
 Get a second half segment. More...
 
const i2d::CVector2dA () const
 
void A (const i2d::CVector2d &value)
 
const i2d::CVector2dB () const
 
void B (const i2d::CVector2d &value)
 
const i2d::CVector2dC () const
 
void C (const i2d::CVector2d &value)
 
const i2d::CVector2dD () const
 
void D (const i2d::CVector2d &value)
 
virtual int GetSupportedOperations () const
 Get set of flags for supported operations. More...
 
virtual bool CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
 
virtual istd::IChangeableCloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const
 Make a copy of this object. More...
 
- Public Member Functions inherited from istd::IChangeable
virtual bool CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
 Copy this object from another one. More...
 
virtual bool IsEqual (const IChangeable &object) const
 Compare this object with another object. More...
 
virtual bool ResetData (CompatibilityMode mode=CM_WITHOUT_REFS)
 Reset data to its default state. More...
 
virtual void BeginChanges (const ChangeSet &changeSet)
 Starts the change transaction. More...
 
virtual void EndChanges (const ChangeSet &changeSet)
 Ends the change transaction. More...
 
virtual void BeginChangeGroup (const ChangeSet &changeSet)
 Starts group of changes. More...
 
virtual void EndChangeGroup (const ChangeSet &changeSet)
 Ends group of changes. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Additional Inherited Members

- Public Types inherited from istd::IChangeable
enum  ChangeFlags {
  CF_ACF_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
}
 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 Public Member Functions inherited from istd::IChangeable
static const ChangeSetGetNoChanges ()
 Get empty set of changes. More...
 
static const ChangeSetGetAnyChange ()
 Get anonymous change set. More...
 
static const ChangeSetGetAllChanges ()
 Get anonymous change set. More...
 
static const ChangeSetGetDelegatedChanges ()
 Get delegated change set. More...
 
- Protected Member Functions inherited from istd::IChangeable
virtual void OnBeginChanges ()
 Callback function for begin change event. More...
 
virtual void OnEndChanges (const ChangeSet &changeSet)
 Callback function for end change event. More...
 

Detailed Description

Definition at line 15 of file CSplineSegment.h.

Member Function Documentation

const i2d::CVector2d & i2d::CSplineSegment::A ( ) const
inline

Definition at line 166 of file CSplineSegment.h.

void i2d::CSplineSegment::A ( const i2d::CVector2d value)
inline

Definition at line 172 of file CSplineSegment.h.

const i2d::CVector2d & i2d::CSplineSegment::B ( ) const
inline

Definition at line 178 of file CSplineSegment.h.

void i2d::CSplineSegment::B ( const i2d::CVector2d value)
inline

Definition at line 184 of file CSplineSegment.h.

const i2d::CVector2d & i2d::CSplineSegment::C ( ) const
inline

Definition at line 190 of file CSplineSegment.h.

void i2d::CSplineSegment::C ( const i2d::CVector2d value)
inline

Definition at line 196 of file CSplineSegment.h.

virtual istd::IChangeable* i2d::CSplineSegment::CloneMe ( CompatibilityMode  mode = CM_WITHOUT_REFS) const
virtual

Make a copy of this object.

Returns
new instance or NULL, if this operation is not supported.

Reimplemented from istd::IChangeable.

virtual bool i2d::CSplineSegment::CopyFrom ( const IChangeable &  object,
CompatibilityMode  mode = CM_WITHOUT_REFS 
)
virtual
const i2d::CVector2d & i2d::CSplineSegment::D ( ) const
inline

Definition at line 202 of file CSplineSegment.h.

void i2d::CSplineSegment::D ( const i2d::CVector2d value)
inline

Definition at line 208 of file CSplineSegment.h.

i2d::CVector2d i2d::CSplineSegment::GetBezierPointBegin ( ) const
inlinevirtual

Get first Bezier's control point.

Definition at line 134 of file CSplineSegment.h.

i2d::CVector2d i2d::CSplineSegment::GetBezierPointEnd ( ) const
inlinevirtual

Get second Bezier's control point.

Definition at line 140 of file CSplineSegment.h.

i2d::CVector2d i2d::CSplineSegment::GetDerivationBegin ( ) const
inlinevirtual

Get derivation in begin point.

Definition at line 110 of file CSplineSegment.h.

i2d::CVector2d i2d::CSplineSegment::GetDerivationEnd ( ) const
inlinevirtual

Get derivation in end point.

Definition at line 116 of file CSplineSegment.h.

i2d::CVector2d i2d::CSplineSegment::GetDerivationInSegment ( double  position) const
inlinevirtual

Get derivation.

Parameters
positionPosition in segment. Must be in range [0, 1], where 0 is begin, and 1 is end of segment.

Definition at line 104 of file CSplineSegment.h.

void i2d::CSplineSegment::GetHalfSegmentFirst ( CSplineSegment result) const
inlinevirtual

Get a first half segment.

Definition at line 146 of file CSplineSegment.h.

void i2d::CSplineSegment::GetHalfSegmentSecond ( CSplineSegment result) const
inlinevirtual

Get a second half segment.

Definition at line 155 of file CSplineSegment.h.

i2d::CVector2d i2d::CSplineSegment::GetPointBegin ( ) const
inlinevirtual

Get begin point.

Definition at line 122 of file CSplineSegment.h.

i2d::CVector2d i2d::CSplineSegment::GetPointEnd ( ) const
inlinevirtual

Get end point.

Definition at line 128 of file CSplineSegment.h.

i2d::CVector2d i2d::CSplineSegment::GetPointInSegment ( double  position) const
inlinevirtual

Get point.

Parameters
positionPosition in segment. Must be in range [0, 1], where 0 is begin, and 1 is end of segment.

Definition at line 98 of file CSplineSegment.h.

virtual int i2d::CSplineSegment::GetSupportedOperations ( ) const
virtual

Get set of flags for supported operations.

See Also
SupportedOperations

Reimplemented from istd::IChangeable.

virtual bool i2d::CSplineSegment::IsCloserThan ( const i2d::CVector2d  position,
double  distance 
) const
virtual

Check, if segment is closer than specifier distance.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy