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

kig

  • sources
  • kde-4.14
  • kdeedu
  • kig
  • objects
tangent_type.h
Go to the documentation of this file.
1 // Copyright (C) 2004 Pino Toscano <toscano.pino@tiscali.it>
2 
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License
5 // as published by the Free Software Foundation; either version 2
6 // of the License, or (at your option) any later version.
7 
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
12 
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16 // 02110-1301, USA.
17 
18 #ifndef KIG_OBJECTS_TANGENT_TYPE_H
19 #define KIG_OBJECTS_TANGENT_TYPE_H
20 
21 #include "base_type.h"
22 
26 class TangentConicType
27  : public ArgsParserObjectType
28 {
29  typedef ArgsParserObjectType Parent;
30  TangentConicType();
31  ~TangentConicType();
32 public:
33  static const TangentConicType* instance();
34  ObjectImp* calc( const Args& args, const KigDocument& ) const;
35  const ObjectImpType* resultId() const;
36 };
37 
41 class TangentArcType
42  : public ArgsParserObjectType
43 {
44  typedef ArgsParserObjectType Parent;
45  TangentArcType();
46  ~TangentArcType();
47 public:
48  static const TangentArcType* instance();
49  ObjectImp* calc( const Args& args, const KigDocument& ) const;
50  const ObjectImpType* resultId() const;
51 };
52 
56 class TangentCubicType
57  : public ArgsParserObjectType
58 {
59  typedef ArgsParserObjectType Parent;
60  TangentCubicType();
61  ~TangentCubicType();
62 public:
63  static const TangentCubicType* instance();
64  ObjectImp* calc( const Args& args, const KigDocument& ) const;
65  const ObjectImpType* resultId() const;
66 };
67 
71 class TangentCurveType
72  : public ArgsParserObjectType
73 {
74  typedef ArgsParserObjectType Parent;
75  TangentCurveType();
76  ~TangentCurveType();
77 public:
78  static const TangentCurveType* instance();
79  ObjectImp* calc( const Args& args, const KigDocument& ) const;
80  const ObjectImpType* resultId() const;
81 };
82 
83 #endif
TangentCurveType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: tangent_type.cc:239
ObjectImpType
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
TangentConicType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tangent_type.cc:83
ArgsParserObjectType
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be sp...
Definition: object_type.h:113
TangentConicType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: tangent_type.cc:63
TangentArcType
the line tangent to an arc
Definition: tangent_type.h:41
TangentCurveType
the line tangent to a curve
Definition: tangent_type.h:71
TangentCurveType::instance
static const TangentCurveType * instance()
Definition: tangent_type.cc:233
Args
std::vector< const ObjectImp * > Args
Definition: objects/common.h:47
TangentCubicType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tangent_type.cc:209
TangentArcType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tangent_type.cc:138
TangentCubicType::instance
static const TangentCubicType * instance()
Definition: tangent_type.cc:162
TangentArcType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: tangent_type.cc:113
TangentCubicType
the line tangent to a cubic
Definition: tangent_type.h:56
TangentCubicType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: tangent_type.cc:168
KigDocument
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
ObjectImp
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
TangentConicType::instance
static const TangentConicType * instance()
Definition: tangent_type.cc:57
TangentConicType
the line tangent to a generic conic
Definition: tangent_type.h:26
base_type.h
TangentArcType::instance
static const TangentArcType * instance()
Definition: tangent_type.cc:107
TangentCurveType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tangent_type.cc:282
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

KDE's Doxygen guidelines are available online.

kig

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal