kig
#include <conic_imp.h>

Public Types | |
| typedef CurveImp | Parent |
Public Types inherited from ConicImp | |
| typedef CurveImp | Parent |
Public Types inherited from CurveImp | |
| typedef ObjectImp | Parent |
Public Member Functions | |
| ConicArcImp (const ConicCartesianData &data, const double startangle, const double angle) | |
| ~ConicArcImp () | |
| bool | contains (const Coordinate &p, int width, const KigWidget &) const |
| bool | containsPoint (const Coordinate &p, const KigDocument &doc) const |
| ConicArcImp * | copy () const |
| Coordinate | firstEndPoint () const |
| double | getParam (const Coordinate &point, const KigDocument &) const |
| double | getParam (const Coordinate &point) const |
| const Coordinate | getPoint (double param, const KigDocument &) const |
| const Coordinate | getPoint (double param) const |
| const char * | iconForProperty (int which) const |
| bool | internalContainsPoint (const Coordinate &p, double threshold, const KigDocument &doc) const |
| bool | isPropertyDefinedOnOrThroughThisImp (int which) const |
| int | numberOfProperties () const |
| const QByteArrayList | properties () const |
| const QByteArrayList | propertiesInternalNames () const |
| ObjectImp * | property (int which, const KigDocument &w) const |
| Coordinate | secondEndPoint () const |
| void | setAngle (double a) |
| void | setStartAngle (double sa) |
| ObjectImp * | transform (const Transformation &t) const |
| const ObjectImpType * | type () const |
Public Member Functions inherited from ConicImpCart | |
| ConicImpCart (const ConicCartesianData &data) | |
| ~ConicImpCart () | |
| const ConicCartesianData | cartesianData () const |
| const ConicPolarData | polarData () const |
Public Member Functions inherited from ConicImp | |
| virtual QString | cartesianEquationString (const KigDocument &w) const |
| virtual Coordinate | coniccenter () const |
| virtual int | conicType () const |
| virtual QString | conicTypeString () const |
| void | draw (KigPainter &p) const |
| bool | equals (const ObjectImp &rhs) const |
| virtual Coordinate | focus1 () const |
| virtual Coordinate | focus2 () const |
| double | getParam (const Coordinate &point) const |
| const Coordinate | getPoint (double param) const |
| const ObjectImpType * | impRequirementForProperty (int which) const |
| bool | inRect (const Rect &r, int width, const KigWidget &) const |
| bool | internalContainsPoint (const Coordinate &p, double threshold) const |
| bool | isVerticalParabola (ConicCartesianData &data) const |
| virtual QString | polarEquationString (const KigDocument &w) const |
| Rect | surroundingRect () const |
| bool | valid () const |
| void | visit (ObjectImpVisitor *vtor) const |
Public Member Functions inherited from CurveImp | |
| Coordinate | attachPoint () const |
| QString | cartesianEquationString (const KigDocument &w) const |
Public Member Functions inherited from ObjectImp | |
| virtual | ~ObjectImp () |
| virtual bool | canFillInNextEscape () const |
| virtual void | fillInNextEscape (QString &s, const KigDocument &) const |
| int | getPropGid (const char *pname) const |
| int | getPropLid (int propgid) const |
| const char * | getPropName (int propgid) const |
| bool | inherits (const ObjectImpType *t) const |
| virtual bool | isCache () const |
| bool | valid () const |
Static Public Member Functions | |
| static const ObjectImpType * | stype () |
Static Public Member Functions inherited from ConicImp | |
| static const ObjectImpType * | stype () |
Static Public Member Functions inherited from CurveImp | |
| static const ObjectImpType * | stype () |
Static Public Member Functions inherited from ObjectImp | |
| static const ObjectImpType * | stype () |
Additional Inherited Members | |
Protected Member Functions inherited from ConicImp | |
| ConicImp () | |
| ~ConicImp () | |
Protected Member Functions inherited from CurveImp | |
| double | getDist (double param, const Coordinate &p, const KigDocument &doc) const |
| double | getParamofmin (double a, double b, const Coordinate &p, const KigDocument &doc) const |
Protected Member Functions inherited from ObjectImp | |
| ObjectImp () | |
Protected Attributes inherited from ConicImpCart | |
| ConicCartesianData | mcartdata |
| ConicPolarData | mpolardata |
Detailed Description
A conic arc, which is given by the cartesian equation and two angles.
Definition at line 172 of file conic_imp.h.
Member Typedef Documentation
| typedef CurveImp ConicArcImp::Parent |
Definition at line 178 of file conic_imp.h.
Constructor & Destructor Documentation
| ConicArcImp::ConicArcImp | ( | const ConicCartesianData & | data, |
| const double | startangle, | ||
| const double | angle | ||
| ) |
Construct a Conic Arc with given cartesian equation, start angle and dimension (both in radians).
Definition at line 467 of file conic_imp.cc.
| ConicArcImp::~ConicArcImp | ( | ) |
Definition at line 473 of file conic_imp.cc.
Member Function Documentation
|
virtual |
Reimplemented from ConicImp.
Definition at line 520 of file conic_imp.cc.
|
virtual |
Return whether this Curve contains the given point.
This is implemented as a numerical approximation. Implementations can/should use the value test_threshold in common.h as a threshold value.
Reimplemented from ConicImp.
Definition at line 628 of file conic_imp.cc.
|
virtual |
Returns a copy of this ObjectImp.
The copy is an exact copy. Changes to the copy don't affect the original.
Reimplemented from ConicImpCart.
Definition at line 477 of file conic_imp.cc.
| Coordinate ConicArcImp::firstEndPoint | ( | ) | const |
Return the start point of this arc.
Definition at line 596 of file conic_imp.cc.
|
virtual |
Reimplemented from ConicImp.
Definition at line 646 of file conic_imp.cc.
| double ConicArcImp::getParam | ( | const Coordinate & | point | ) | const |
Definition at line 651 of file conic_imp.cc.
|
virtual |
Reimplemented from ConicImp.
Definition at line 662 of file conic_imp.cc.
| const Coordinate ConicArcImp::getPoint | ( | double | param | ) | const |
Definition at line 667 of file conic_imp.cc.
|
virtual |
Reimplemented from ConicImp.
Definition at line 550 of file conic_imp.cc.
| bool ConicArcImp::internalContainsPoint | ( | const Coordinate & | p, |
| double | threshold, | ||
| const KigDocument & | doc | ||
| ) | const |
Definition at line 636 of file conic_imp.cc.
|
virtual |
Reimplemented from ConicImp.
Definition at line 580 of file conic_imp.cc.
|
virtual |
Reimplemented from ConicImp.
Definition at line 526 of file conic_imp.cc.
|
virtual |
Reimplemented from ConicImp.
Definition at line 531 of file conic_imp.cc.
|
virtual |
Reimplemented from ConicImp.
Definition at line 541 of file conic_imp.cc.
|
virtual |
Reimplemented from ConicImp.
Definition at line 565 of file conic_imp.cc.
| Coordinate ConicArcImp::secondEndPoint | ( | ) | const |
Return the end point of this arc.
Definition at line 601 of file conic_imp.cc.
|
inline |
Set the dimension in radians of this arc.
Definition at line 219 of file conic_imp.h.
|
inline |
Set the start angle in radians of this arc.
Definition at line 215 of file conic_imp.h.
|
static |
Returns the ObjectImpType representing the ConicImp type.
Definition at line 606 of file conic_imp.cc.
|
virtual |
Return this ObjectImp, transformed by the transformation t.
Reimplemented from ConicImp.
Definition at line 482 of file conic_imp.cc.
|
virtual |
Returns the lowermost ObjectImpType that this object is an instantiation of.
E.g. if you want to get a string containing the internal name of the type of an object, you can do:
Reimplemented from ConicImp.
Definition at line 623 of file conic_imp.cc.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Types inherited from