kig
calcpaths.h
Go to the documentation of this file.
39 std::vector<ObjectCalcer*> calcPath( const std::vector<ObjectCalcer*>& from, const ObjectCalcer* to );
48 std::vector<ObjectCalcer*> sideOfTreePath( const std::vector<ObjectCalcer*>& from, const ObjectCalcer* to );
std::vector< ObjectCalcer * > sideOfTreePath(const std::vector< ObjectCalcer * > &from, const ObjectCalcer *to)
This function returns all objects on the side of the path through the dependency tree from from down ...
Definition: calcpaths.cc:222
std::vector< ObjectCalcer * > getAllParents(const std::vector< ObjectCalcer * > &objs)
This function returns all objects above the given in the dependency graph.
Definition: calcpaths.cc:229
bool isChild(const ObjectCalcer *o, const std::vector< ObjectCalcer * > &os)
Returns true if o is a descendant of any of the objects in os.
Definition: calcpaths.cc:263
std::vector< ObjectCalcer * > calcPath(const std::vector< ObjectCalcer * > &os)
This function sorts os such that they're in the right order for calc()-ing.
Definition: calcpaths.cc:48
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
std::set< ObjectCalcer * > getAllChildren(const std::vector< ObjectCalcer * > objs)
This function returns all objects below the objects in objs in the dependency graphy.
Definition: calcpaths.cc:288
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.