kig
centerofcurvature_type.h
Go to the documentation of this file.00001 // Copyright (C) 2004 Maurizio Paolini <paolini@dmf.unicatt.it> 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_OBJECTS_CENTEROFCURVATURE_TYPE_H 00019 #define KIG_OBJECTS_CENTEROFCURVATURE_TYPE_H 00020 00021 #include "base_type.h" 00022 00026 class CocConicType 00027 : public ArgsParserObjectType 00028 { 00029 typedef ArgsParserObjectType Parent; 00030 CocConicType(); 00031 ~CocConicType(); 00032 public: 00033 static const CocConicType* instance(); 00034 ObjectImp* calc( const Args& args, const KigDocument& ) const; 00035 const ObjectImpType* resultId() const; 00036 }; 00037 00041 class CocCubicType 00042 : public ArgsParserObjectType 00043 { 00044 typedef ArgsParserObjectType Parent; 00045 CocCubicType(); 00046 ~CocCubicType(); 00047 public: 00048 static const CocCubicType* instance(); 00049 ObjectImp* calc( const Args& args, const KigDocument& ) const; 00050 const ObjectImpType* resultId() const; 00051 }; 00052 00056 class CocCurveType 00057 : public ArgsParserObjectType 00058 { 00059 typedef ArgsParserObjectType Parent; 00060 CocCurveType(); 00061 ~CocCurveType(); 00062 public: 00063 static const CocCurveType* instance(); 00064 ObjectImp* calc( const Args& args, const KigDocument& ) const; 00065 const ObjectImpType* resultId() const; 00066 }; 00067 00068 #endif
KDE 4.2 API Reference