kig
cubic_imp.cc
Go to the documentation of this file.
466 // QString ret = i18n( "%6 x³ + %9 y³ + %7 x²y + %8 xy² + %5 y² + %3 x² + %4 xy + %1 x + %2 y" );
void calcCubicLineRestriction(CubicCartesianData data, Coordinate p, Coordinate v, double &a, double &b, double &c, double &d)
Definition: cubic-common.cc:395
double getParam(const Coordinate &point, const KigDocument &) const
Definition: cubic_imp.cc:72
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
bool inherits(const ObjectImpType *t) const
Returns true if this ObjectImp inherits the ObjectImp type represented by t.
Definition: object_imp.cc:279
QString & append(QChar ch)
double calcCubicRoot(double xmin, double xmax, double a, double b, double c, double d, int root, bool &valid, int &numroots)
This file is part of Kig, a KDE program for Interactive Geometry...
Definition: kignumerics.cpp:32
virtual const ObjectImpType * impRequirementForProperty(int which) const
Definition: object_imp.cc:76
virtual ObjectImp * property(int which, const KigDocument &d) const
Definition: object_imp.cc:70
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: cubic_imp.cc:347
ObjectImp * property(int which, const KigDocument &w) const
Definition: cubic_imp.cc:318
const ObjectImpType * impRequirementForProperty(int which) const
Definition: cubic_imp.cc:299
bool inRect(const Rect &r, int width, const KigWidget &) const
Definition: cubic_imp.cc:61
bool equals(const ObjectImp &rhs) const
Returns true if this ObjectImp is equal to rhs.
Definition: cubic_imp.cc:341
virtual const QByteArrayList propertiesInternalNames() const
Definition: object_imp.cc:63
int size() const
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
const QByteArrayList propertiesInternalNames() const
Definition: cubic_imp.cc:277
void addTerm(double coeff, const QString &unknowns, bool &needsign)
Definition: equation.cc:41
const ScreenInfo & screenInfo() const
the part of the document we're currently showing i.e.
Definition: kig_view.cpp:272
const Coordinate getPoint(double param, const KigDocument &) const
Definition: cubic_imp.cc:154
virtual const char * iconForProperty(int which) const
Definition: object_imp.cc:187
double calcCubicYvalue(double x, double ymin, double ymax, int root, CubicCartesianData data, bool &valid, int &numroots)
Definition: cubic-common.cc:345
QString cartesianEquationString(const KigDocument &) const
Definition: cubic_imp.cc:423
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: cubic_imp.cc:42
This class represents an equation of a cubic in the form (in homogeneous coordinates, ), .
Definition: cubic-common.h:31
virtual bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: object_imp.cc:326
const CubicCartesianData data() const
Return the cartesian representation of this cubic.
Definition: cubic_imp.cc:331
bool internalContainsPoint(const Coordinate &p, double threshold) const
Definition: cubic_imp.cc:374
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: cubic_imp.cc:400
static const ObjectImpType * stype()
Returns the ObjectImpType representing the CurveImp type.
Definition: curve_imp.cc:27
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: cubic_imp.cc:369
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
bool contains(const Coordinate &p, int width, const KigWidget &) const
Definition: cubic_imp.cc:56
int calcCubicVariations(double x, double a, double b, double c, double d, double p1a, double p1b, double p0a)
Definition: kignumerics.cpp:164
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
const CubicCartesianData calcCubicTransformation(const CubicCartesianData &data, const Transformation &t, bool &valid)
Definition: cubic-common.cc:438
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.