18 #ifndef KIG_OBJECTS_CIRCLE_IMP_H
19 #define KIG_OBJECTS_CIRCLE_IMP_H
21 #include "conic_imp.h"
37 static const ObjectImpType* stype();
42 CircleImp(
const Coordinate& center,
double radius );
44 CircleImp* copy()
const;
48 void draw( KigPainter& p )
const;
49 bool contains(
const Coordinate& p,
int width,
const KigWidget& )
const;
50 bool inRect(
const Rect& r,
int width,
const KigWidget& )
const;
52 Rect surroundingRect()
const;
54 double getParam(
const Coordinate& point,
const KigDocument& )
const;
55 const Coordinate getPoint(
double param,
const KigDocument& )
const;
57 const uint numberOfProperties()
const;
58 const QCStringList properties()
const;
59 const QCStringList propertiesInternalNames()
const;
60 ObjectImp* property( uint which,
const KigDocument& w )
const;
61 const char* iconForProperty( uint which )
const;
62 const ObjectImpType* impRequirementForProperty( uint which )
const;
63 bool isPropertyDefinedOnOrThroughThisImp( uint which )
const;
65 const ObjectImpType* type()
const;
66 void visit( ObjectImpVisitor* vtor )
const;
75 double radius()
const;
80 double squareRadius()
const;
84 double surface()
const;
88 double circumference()
const;
94 int conicType()
const;
110 TQString cartesianEquationString(
const KigDocument& w )
const;
115 TQString simplyCartesianEquationString(
const KigDocument& w )
const;
120 TQString polarEquationString(
const KigDocument& w )
const;
122 bool equals(
const ObjectImp& rhs )
const;