kig
curve_imp.h
Go to the documentation of this file.
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
Coordinate attachPoint() const
Returns a reference point where to attach labels; when this returns an invalidCoord then the attachme...
Definition: curve_imp.cc:44
QString cartesianEquationString(const KigDocument &w) const
Definition: curve_imp.cc:270
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
virtual const Coordinate getPoint(double param, const KigDocument &) const =0
double getParamofmin(double a, double b, const Coordinate &p, const KigDocument &doc) const
This function calculates the parameter of the point that realizes the minimum in [a,b] of the distance between the points of the locus and the point of coordinate p, using the golden ration method.
Definition: curve_imp.cc:58
virtual bool containsPoint(const Coordinate &p, const KigDocument &) const =0
Return whether this Curve contains the given point.
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
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
double getDist(double param, const Coordinate &p, const KigDocument &doc) const
This function returns the distance between the point with parameter param and point p...
Definition: curve_imp.cc:137
virtual double getParam(const Coordinate &point, const KigDocument &) const
Definition: curve_imp.cc:149
This class represents a curve: something which is composed of points, like a line, a circle, a locus.
Definition: curve_imp.h:27
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.