kig
special_calcers.cc
Go to the documentation of this file.
38 MeasureTransportCalcer::MeasureTransportCalcer(ObjectCalcer* circle, ObjectCalcer* point, ObjectCalcer* segment )
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
const Coordinate getPoint(double param, const KigDocument &) const
Definition: circle_imp.cc:325
static const ArgsParser::spec argsspecMeasureTransport[]
Definition: special_calcers.cc:20
const Coordinate & coordinate() const
Get the coordinate of this PointImp.
Definition: point_imp.h:50
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
~MeasureTransportCalcer()
Definition: special_calcers.cc:43
double getParam(const Coordinate &point, const KigDocument &) const
Definition: circle_imp.cc:317
void calc(const KigDocument &)
Makes the ObjectCalcer recalculate its ObjectImp from its parents.
Definition: special_calcers.cc:47
An ObjectCalcer is an object that represents an algorithm for calculating an ObjectImp from other Obj...
Definition: object_calcer.h:66
bool isPointOnCurve(const ObjectCalcer *point, const ObjectCalcer *curve)
Return true if the given point is ( by construction ) on the given curve.
Definition: calcpaths.cc:309
static ArgsParser measuretransportargsparser(argsspecMeasureTransport, 3)
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
static const ObjectImpType * stype()
Returns the ObjectImpType representing the SegmentImp type.
Definition: line_imp.cc:545
Definition: argsparser.h:113
This class is meant to take care of checking the types of the parents to ObjectCalcer's, and to put them in the correct order.
Definition: argsparser.h:106
static const ObjectImpType * stype()
Returns the ObjectImpType representing the CircleImp type.
Definition: circle_imp.cc:342
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
MeasureTransportCalcer(ObjectCalcer *circle, ObjectCalcer *point, ObjectCalcer *segment)
Definition: special_calcers.cc:38
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
virtual const ObjectImp * imp() const =0
Returns the ObjectImp of this ObjectCalcer.
const ObjectImpType * impRequirement(ObjectCalcer *o, const std::vector< ObjectCalcer * > &os) const
An ObjectCalcer expects its parents to have an ObjectImp of a certain type.
Definition: special_calcers.cc:69
std::vector< ObjectCalcer * > parents() const
Returns the parent ObjectCalcer's of this ObjectCalcer.
Definition: special_calcers.cc:29
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.