• 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
intersection_types.h
Go to the documentation of this file.
1 // Copyright (C) 2003 Dominique Devriese <devriese@kde.org>
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_INTERSECTION_TYPES_H
19 #define KIG_OBJECTS_INTERSECTION_TYPES_H
20 
21 #include "object_type.h"
22 
32 class ConicLineIntersectionType
33  : public ArgsParserObjectType
34 {
35  ConicLineIntersectionType();
36  ~ConicLineIntersectionType();
37 public:
38  static const ConicLineIntersectionType* instance();
39  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
40  const ObjectImpType* resultId() const;
41 };
42 
47 class ConicLineOtherIntersectionType
48  : public ArgsParserObjectType
49 {
50  ConicLineOtherIntersectionType();
51  ~ConicLineOtherIntersectionType();
52 public:
53  static const ConicLineOtherIntersectionType* instance();
54  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
55  const ObjectImpType* resultId() const;
56 };
64 class CubicLineOtherIntersectionType
65  : public ArgsParserObjectType
66 {
67  CubicLineOtherIntersectionType();
68  ~CubicLineOtherIntersectionType();
69 public:
70  static const CubicLineOtherIntersectionType* instance();
71  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
72  const ObjectImpType* resultId() const;
73 };
79 class CubicLineTwoIntersectionType
80  : public ArgsParserObjectType
81 {
82  CubicLineTwoIntersectionType();
83  ~CubicLineTwoIntersectionType();
84 public:
85  static const CubicLineTwoIntersectionType* instance();
86  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
87  const ObjectImpType* resultId() const;
88 };
93 class CircleCircleOtherIntersectionType
94  : public ArgsParserObjectType
95 {
96  CircleCircleOtherIntersectionType();
97  ~CircleCircleOtherIntersectionType();
98 public:
99  static const CircleCircleOtherIntersectionType* instance();
100  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
101  const ObjectImpType* resultId() const;
102 };
103 
104 class LineLineIntersectionType
105  : public ArgsParserObjectType
106 {
107  LineLineIntersectionType();
108  ~LineLineIntersectionType();
109 public:
110  static const LineLineIntersectionType* instance();
111  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
112  const ObjectImpType* resultId() const;
113 };
114 
115 class LineCubicIntersectionType
116  : public ArgsParserObjectType
117 {
118  LineCubicIntersectionType();
119  ~LineCubicIntersectionType();
120 public:
121  static const LineCubicIntersectionType* instance();
122  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
123  const ObjectImpType* resultId() const;
124 };
125 
126 class CircleCircleIntersectionType
127  : public ArgsParserObjectType
128 {
129  CircleCircleIntersectionType();
130  ~CircleCircleIntersectionType();
131 public:
132  static const CircleCircleIntersectionType* instance();
133  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
134  const ObjectImpType* resultId() const;
135 };
136 
140 class ArcLineIntersectionType
141  : public ArgsParserObjectType
142 {
143  ArcLineIntersectionType();
144  ~ArcLineIntersectionType();
145 public:
146  static const ArcLineIntersectionType* instance();
147  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
148  const ObjectImpType* resultId() const;
149 };
150 
151 #endif
ArcLineIntersectionType::instance
static const ArcLineIntersectionType * instance()
Definition: intersection_types.cc:541
ObjectImpType
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
CircleCircleIntersectionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:516
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
CircleCircleOtherIntersectionType::instance
static const CircleCircleOtherIntersectionType * instance()
Definition: intersection_types.cc:323
ConicLineIntersectionType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:60
CircleCircleIntersectionType
Definition: intersection_types.h:126
CircleCircleOtherIntersectionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:444
CubicLineOtherIntersectionType::instance
static const CubicLineOtherIntersectionType * instance()
Definition: intersection_types.cc:173
ConicLineIntersectionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:434
CircleCircleIntersectionType::instance
static const CircleCircleIntersectionType * instance()
Definition: intersection_types.cc:490
LineCubicIntersectionType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:420
CircleCircleOtherIntersectionType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:329
ArcLineIntersectionType
arc line intersection.
Definition: intersection_types.h:140
CubicLineOtherIntersectionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:459
CubicLineTwoIntersectionType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:247
ConicLineOtherIntersectionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:439
object_type.h
LineCubicIntersectionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:454
ConicLineOtherIntersectionType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:124
LineLineIntersectionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:449
LineLineIntersectionType::instance
static const LineLineIntersectionType * instance()
Definition: intersection_types.cc:374
Args
std::vector< const ObjectImp * > Args
Definition: objects/common.h:47
CubicLineTwoIntersectionType
one of the two cubic line intersection points, in case we already know one of the three intersections...
Definition: intersection_types.h:79
CubicLineOtherIntersectionType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:179
ConicLineIntersectionType
conic line intersection.
Definition: intersection_types.h:32
LineCubicIntersectionType::instance
static const LineCubicIntersectionType * instance()
Definition: intersection_types.cc:414
CubicLineTwoIntersectionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:464
CircleCircleOtherIntersectionType
circle circle 'other' intersection.
Definition: intersection_types.h:93
ArcLineIntersectionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:563
ConicLineOtherIntersectionType
conic line 'other' intersection.
Definition: intersection_types.h:47
LineLineIntersectionType
Definition: intersection_types.h:104
LineLineIntersectionType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:380
KigDocument
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
ConicLineIntersectionType::instance
static const ConicLineIntersectionType * instance()
Definition: intersection_types.cc:54
CubicLineTwoIntersectionType::instance
static const CubicLineTwoIntersectionType * instance()
Definition: intersection_types.cc:241
ArcLineIntersectionType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:547
ObjectImp
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
LineCubicIntersectionType
Definition: intersection_types.h:115
CubicLineOtherIntersectionType
Francesca Gatti (frency.gatti@gmail.com), january 2008:
Definition: intersection_types.h:64
ConicLineOtherIntersectionType::instance
static const ConicLineOtherIntersectionType * instance()
Definition: intersection_types.cc:118
CircleCircleIntersectionType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:496
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