81 double* errorFactorPtr =
NULL)
override;
85 double* errorFactorPtr =
NULL)
override;
90 double* errorFactorPtr =
NULL)
const override;
95 double* errorFactorPtr =
NULL)
const override;
Definition of graphical circle object.
virtual bool GetTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const override
Calulate transformation of the object into second one.
virtual bool ConvertToPolygon(i2d::CPolygon &result, int segmentsCount=0) const
Performs conversion of the circle splitting it to segmentsCount segments to the polygon result.
bool operator!=(const CCircle &circle) const
static QByteArray GetTypeName()
void SetRadius(double radius)
virtual bool InvTransform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) override
Do inverse transformation of this object.
bool IsIntersectedBy(const CCircle &circle, bool isFilled=false) const
Check if this circle is intersected by another circle (or disk).
virtual bool GetInvTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const override
Calulate inverse transformation of the object into second one.
int GetIntersectionPoints(const CLine2d &line, i2d::CVector2d &result1, i2d::CVector2d &result2) const
Get points of intersection circle by line.
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual QByteArray GetFactoryId() const override
int GetIntersectionAlphas(const CLine2d &line, double result[2]) const
Get points of intersection circle by line.
bool operator==(const CCircle &circle) const
bool IsIntersectedBy(const CLine2d &line, bool isFilled=false) const
Check if this circle is intersected by line.
virtual int GetSupportedOperations() const override
Get set of flags for supported operations.
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
virtual CRectangle GetBoundingBox() const override
Get bounding box of this shape.
CCircle(double radius, const CVector2d ¢er)
virtual bool Transform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) override
Transform this object using some transformation.
virtual istd::TUniqueInterfacePtr< istd::IChangeable > CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
Definition of a line in 2D-space.
Definition of the data model for a polygon.
Definition of graphical point object.
Definition of rectangle area orthogonal to axis of coordination system.
Definition of position or mathematical vector on 2D plane.
Common interface for describing the 2D-objects.
Represents an input/output persistence archive for object serialization.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Unique ownership smart pointer for interface types.