• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kig

calcpaths.h

Go to the documentation of this file.
00001 // Copyright (C)  2002  Dominique Devriese <devriese@kde.org>
00002 
00003 // This program is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU General Public License
00005 // as published by the Free Software Foundation; either version 2
00006 // of the License, or (at your option) any later version.
00007 
00008 // This program is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 // GNU General Public License for more details.
00012 
00013 // You should have received a copy of the GNU General Public License
00014 // along with this program; if not, write to the Free Software
00015 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00016 // 02110-1301, USA.
00017 
00018 #ifndef KIG_MISC_CALCPATHS_H
00019 #define KIG_MISC_CALCPATHS_H
00020 
00021 #include "../objects/common.h"
00022 
00028 std::vector<ObjectCalcer*> calcPath( const std::vector<ObjectCalcer*>& os );
00029 
00039 std::vector<ObjectCalcer*> calcPath( const std::vector<ObjectCalcer*>& from, const ObjectCalcer* to );
00040 
00048 std::vector<ObjectCalcer*> sideOfTreePath( const std::vector<ObjectCalcer*>& from, const ObjectCalcer* to );
00049 
00055 std::vector<ObjectCalcer*> getAllParents( const std::vector<ObjectCalcer*>& objs );
00059 std::vector<ObjectCalcer*> getAllParents( ObjectCalcer* obj );
00060 
00066 std::set<ObjectCalcer*> getAllChildren( const std::vector<ObjectCalcer*> objs );
00067 
00071 std::set<ObjectCalcer*> getAllChildren( ObjectCalcer* obj );
00072 
00076 bool isChild( const ObjectCalcer* o, const std::vector<ObjectCalcer*>& os );
00077 bool isChild( const ObjectCalcer* o, ObjectCalcer* op );
00078 
00087 bool isPointOnCurve( const ObjectCalcer* point, const ObjectCalcer* curve );
00088 
00089 #endif

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal