1 #ifndef i2d_CArc_included
2 #define i2d_CArc_included
19 CArc(
double startAngle,
double endAngle,
const double radius,
const CVector2d& center);
41 double* errorFactorPtr =
NULL);
45 double* errorFactorPtr =
NULL);
50 double* errorFactorPtr =
NULL)
const;
55 double* errorFactorPtr =
NULL)
const;
88 #endif // !i2d_CArc_included
virtual bool GetTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const
Calulate transformation of the object into second one.
External references are simple ignored.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
double GetEndAngle() const
virtual bool InvTransform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL)
Do inverse transformation of this object.
CVector2d GetPositionFromAlpha(double alpha) const
Get position of point using normed 'alpha' value.
virtual int GetSupportedOperations() const
Get set of flags for supported operations.
Represent input/output persistence archive.
Common interface for data model objects, which can be changed.
void SetEndAngle(double angle)
Definition of rectangle area orthogonal to axis of coordination system.
void SetStartAngle(double angle)
virtual istd::IChangeable * CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const
Make a copy of this object.
Definition of position or mathematical vector on 2D plane.
virtual bool Transform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL)
Transform this object using some transformation.
Definition of graphical circle object.
virtual bool Serialize(iser::IArchive &archive)
Load or store state of this object as a archive stream.
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
virtual bool GetInvTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const
Calulate inverse transformation of the object into second one.
Common interface for describing the 2D-objects.
bool operator!=(const CArc &arc) const
virtual CRectangle GetBoundingBox() const
Get bounding box of this shape.
double GetStartAngle() const
bool operator==(const CArc &arc) const