85 double* errorFactorPtr =
nullptr)
override;
89 double* errorFactorPtr =
nullptr)
override;
94 double* errorFactorPtr =
nullptr)
const override;
99 double* errorFactorPtr =
nullptr)
const override;
Definition of graphical circle object.
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)
CRectangle GetBoundingBox() const override
Get bounding box of this shape.
bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
bool IsIntersectedBy(const CCircle &circle, bool isFilled=false) const
Check if this circle is intersected by another circle (or disk).
int GetIntersectionPoints(const CLine2d &line, i2d::CVector2d &result1, i2d::CVector2d &result2) const
Get points of intersection circle by line.
virtual bool InvTransform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=nullptr) override
Do inverse transformation of this object.
std::unique_ptr< istd::IChangeable > CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
int GetSupportedOperations() const override
Get set of flags for supported operations.
virtual bool GetInvTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=nullptr) const override
Calulate inverse transformation of the object into second one.
int GetIntersectionAlphas(const CLine2d &line, double result[2]) const
Get points of intersection circle by line.
bool operator==(const CCircle &circle) const
virtual bool Transform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=nullptr) override
Transform this object using some transformation.
bool IsIntersectedBy(const CLine2d &line, bool isFilled=false) const
Check if this circle is intersected by line.
CCircle(double radius, const CVector2d ¢er)
bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual bool GetTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=nullptr) const override
Calulate transformation of the object into second one.
QByteArray GetFactoryId() const override
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.
Represent input/output persistence archive.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.