kig
conic_imp.h
Go to the documentation of this file.
virtual Coordinate coniccenter() const
Return the center of this conic.
Definition: conic_imp.cc:295
bool internalContainsPoint(const Coordinate &p, double threshold) const
Definition: conic_imp.cc:410
virtual QString cartesianEquationString(const KigDocument &w) const
A string containing the cartesian equation of the conic.
Definition: conic_imp.cc:221
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: conic_imp.cc:439
virtual QString conicTypeString() const
A string containing "Hyperbola", "Parabola" or "Ellipse".
Definition: conic_imp.cc:205
bool internalContainsPoint(const Coordinate &p, double threshold, const KigDocument &doc) const
Definition: conic_imp.cc:636
const ConicCartesianData cartesianData() const
Return the cartesian representation of this conic.
Definition: conic_imp.cc:322
const Coordinate getPoint(double param, const KigDocument &) const
Definition: conic_imp.cc:662
const Coordinate getPoint(double param, const KigDocument &) const
Definition: conic_imp.cc:176
const QByteArrayList propertiesInternalNames() const
Definition: conic_imp.cc:68
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: conic_imp.cc:623
A conic arc, which is given by the cartesian equation and two angles.
Definition: conic_imp.h:172
const ConicPolarData polarData() const
Return the polar representation of this conic.
Definition: conic_imp.cc:342
const QByteArrayList propertiesInternalNames() const
Definition: conic_imp.cc:541
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: conic_imp.cc:402
bool isVerticalParabola(ConicCartesianData &data) const
Definition: conic_imp.cc:446
An implementation of ConicImp to be used when only the polar equation of the conic is known...
Definition: conic_imp.h:157
const char * iconForProperty(int which) const
Definition: conic_imp.cc:550
An implementation of ConicImp to be used when only the cartesian equation of the conic is known...
Definition: conic_imp.h:138
bool equals(const ObjectImp &rhs) const
Returns true if this ObjectImp is equal to rhs.
Definition: conic_imp.cc:374
ObjectImp * transform(const Transformation &t) const
Return this ObjectImp, transformed by the transformation t.
Definition: conic_imp.cc:482
ObjectImp * property(int which, const KigDocument &w) const
Definition: conic_imp.cc:122
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: conic_imp.cc:580
ObjectImp * property(int which, const KigDocument &w) const
Definition: conic_imp.cc:565
static const ObjectImpType * stype()
Returns the ObjectImpType representing the ConicImp type.
Definition: conic_imp.cc:606
const ConicPolarData polarData() const
Return the polar representation of this conic.
Definition: conic_imp.cc:317
bool contains(const Coordinate &p, int width, const KigWidget &) const
Definition: conic_imp.cc:520
const ObjectImpType * impRequirementForProperty(int which) const
Definition: conic_imp.cc:94
virtual QString polarEquationString(const KigDocument &w) const
A string containing the polar equation of the conic.
Definition: conic_imp.cc:259
virtual Coordinate focus1() const
Return the first focus of this conic.
Definition: conic_imp.cc:290
virtual const ConicPolarData polarData() const =0
Return the polar representation of this conic.
bool contains(const Coordinate &p, int width, const KigWidget &) const
Definition: conic_imp.cc:52
virtual const ConicCartesianData cartesianData() const
Return the cartesian representation of this conic.
Definition: conic_imp.cc:285
bool inRect(const Rect &r, int width, const KigWidget &) const
Definition: conic_imp.cc:57
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: conic_imp.cc:34
static const ObjectImpType * stype()
Returns the ObjectImpType representing the ConicImp type.
Definition: conic_imp.cc:380
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: conic_imp.cc:628
double getParam(const Coordinate &point, const KigDocument &) const
Definition: conic_imp.cc:646
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
virtual Coordinate focus2() const
Return the second focus of this conic.
Definition: conic_imp.cc:306
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: conic_imp.cc:397
void setStartAngle(double sa)
Set the start angle in radians of this arc.
Definition: conic_imp.h:215
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: conic_imp.cc:467
Definition: object_imp.h:56
This class represents a curve: something which is composed of points, like a line, a circle, a locus.
Definition: curve_imp.h:27
This class represents an equation of a conic in the form .
Definition: conic-common.h:85
double getParam(const Coordinate &point, const KigDocument &) const
Definition: conic_imp.cc:144
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.