kig
locus_imp.cc
Go to the documentation of this file.
227 bool LocusImp::internalContainsPoint( const Coordinate& p, double threshold, const KigDocument& doc ) const
LocusImp is an imp that consists of a copy of the curveimp that the moving point moves over...
Definition: locus_imp.h:57
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
Definition: object_hierarchy.h:30
const QByteArrayList propertiesInternalNames() const
Definition: locus_imp.cc:96
virtual const ObjectImpType * impRequirementForProperty(int which) const
Definition: object_imp.cc:76
const ObjectImpType * impRequirementForProperty(int which) const
Definition: locus_imp.cc:112
virtual ObjectImp * property(int which, const KigDocument &d) const
Definition: object_imp.cc:70
QString cartesianEquationString(const KigDocument &w) const
Definition: curve_imp.cc:270
const Coordinate getPoint(double param, const KigDocument &) const
Definition: locus_imp.cc:63
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
bool inRect(const Rect &r, int width, const KigWidget &) const
Definition: locus_imp.cc:57
bool containsPoint(const Coordinate &p, const KigDocument &d) const
Return whether this Curve contains the given point.
Definition: locus_imp.cc:222
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: locus_imp.cc:42
const ScreenInfo & screenInfo() const
the part of the document we're currently showing i.e.
Definition: kig_view.cpp:272
virtual const char * iconForProperty(int which) const
Definition: object_imp.cc:187
ObjectImp * property(int which, const KigDocument &w) const
Definition: locus_imp.cc:129
const ObjectImpType * type() const
Returns the lowermost ObjectImpType that this object is an instantiation of.
Definition: locus_imp.cc:217
virtual bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: object_imp.cc:326
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
static const ObjectImpType * stype()
Returns the ObjectImpType representing the CurveImp type.
Definition: curve_imp.cc:27
bool contains(const Coordinate &p, int width, const KigWidget &) const
Definition: locus_imp.cc:52
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
bool equals(const ObjectImp &rhs) const
Returns true if this ObjectImp is equal to rhs.
Definition: locus_imp.cc:193
virtual bool equals(const ObjectImp &rhs) const =0
Returns true if this ObjectImp is equal to rhs.
bool internalContainsPoint(const Coordinate &p, double threshold, const KigDocument &doc) const
Definition: locus_imp.cc:227
bool isPropertyDefinedOnOrThroughThisImp(int which) const
Definition: locus_imp.cc:234
virtual double getParam(const Coordinate &point, const KigDocument &) const
Definition: curve_imp.cc:149
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 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.