48 double* errorFactorPtr =
nullptr)
override;
52 double* errorFactorPtr =
nullptr)
override;
Definition of graphical annulus object.
Radial segment of the annulus object.
double GetEndAngle() const
int GetSupportedOperations() const override
Get set of flags for supported operations.
CRectangle GetBoundingBox() const override
Get bounding box of this shape.
bool Transform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=nullptr) override
Transform this object using some transformation.
std::unique_ptr< istd::IChangeable > CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
void SetEndAngle(double angle)
bool Contains(const i2d::CVector2d &point) const
Return true if a given point is inside of annulus segment area.
CAnnulusSegment(const i2d::CVector2d ¢er, double innerRadius, double outerRadius, double beginAngle, double endAngle)
double GetBeginAngle() const
bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
bool InvTransform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=nullptr) override
Do inverse transformation of this object.
void SetBeginAngle(double angle)
Definition of rectangle area orthogonal to axis of coordination system.
Definition of position or mathematical vector on 2D plane.
Represent input/output persistence archive.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.