kig
line_type.cc
Go to the documentation of this file.
98 static const char constructhalflinestartingstat[] = I18N_NOOP( "Construct a half-line starting at this point" );
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:331
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:201
ObjectImp * calc(const LineData &a, const Coordinate &b) const
Definition: line_type.cc:136
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
Definition: base_type.h:27
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be sp...
Definition: object_type.h:113
Definition: line_type.h:90
a KigCommand represents almost every action performed in Kig.
Definition: kig_commands.h:44
QStringList specialActions() const
return i18n'd names for the special actions.
Definition: line_type.cc:221
ObjectImp * calc(const LineData &a, const Coordinate &b) const
Definition: line_type.cc:169
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: line_type.cc:321
void executeAction(int i, ObjectHolder &o, ObjectTypeCalcer &c, KigPart &d, KigWidget &w, NormalMode &m) const
execute the i 'th action from the specialActions above.
Definition: line_type.cc:228
static const ObjectImpType * stype()
Returns the ObjectImpType representing the RayImp type.
Definition: line_imp.cc:562
Definition: line_type.h:44
#define KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE(type)
Definition: objects/common.h:105
static const ArgsParser::spec argsspecLineParallel[]
Definition: line_type.cc:144
static const ObjectImpType * stype()
Returns the ObjectImpType representing the VectorImp type.
Definition: other_imp.cc:613
Definition: base_type.h:46
const Coordinate & coordinate() const
Get the coordinate of this PointImp.
Definition: point_imp.h:50
This is an ObjectCalcer that uses one of the various ObjectType's to calculate its ObjectImp...
Definition: object_calcer.h:183
static const ObjectImpType * stype()
Returns the ObjectImpType representing the LineImp type.
Definition: line_imp.cc:528
Coordinate calcPointOnPerpend(const LineData &l, const Coordinate &t)
This file is part of Kig, a KDE program for Interactive Geometry...
Definition: common.cpp:37
static const char constructhalflinestartingstat[]
Definition: line_type.cc:98
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
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
double getDoubleFromUser(const QString &caption, const QString &label, double value, QWidget *parent, bool *ok, double min, double max, int decimals)
Here, we define some algorithms which we need in various places...
Definition: common.cpp:349
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:196
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:206
An ObjectHolder represents an object as it is known to the document.
Definition: object_holder.h:40
static const ArgsParser::spec argsspecLineByVector[]
Definition: line_type.cc:256
this class monitors a set of DataObjects for changes and returns an appropriate ChangeObjectImpsComma...
Definition: kig_commands.h:153
Definition: line_type.h:55
Definition: line_type.h:101
ObjectImp * calcx(const Coordinate &a, const Coordinate &b) const
Definition: line_type.cc:93
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
static const ObjectImpType * stype()
Returns the ObjectImpType representing the SegmentImp type.
Definition: line_imp.cc:545
Definition: argsparser.h:113
void finish(KigCommand *comm)
add the generated KigCommandTasks to the command comm .
Definition: kig_commands.cpp:227
Definition: line_type.h:66
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: line_type.cc:281
ObjectImp * calcx(const Coordinate &a, const Coordinate &b) const
Definition: line_type.cc:61
static const ArgsParser::spec argsspecHalflineByVector[]
Definition: line_type.cc:296
Definition: line_type.h:25
ObjectImp * calcx(const Coordinate &a, const Coordinate &b) const
Definition: line_type.cc:125
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:216
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:211
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
static const HalflineByVectorType * instance()
Definition: line_type.cc:315
Coordinate calcPointOnParallel(const LineData &l, const Coordinate &t)
this returns a point, so that the line through point t and the point returned is parallel with the li...
Definition: common.cpp:47
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:291
std::vector< ObjectCalcer * > parents() const
Returns the parent ObjectCalcer's of this ObjectCalcer.
Definition: object_calcer.cc:105
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
Definition: line_type.h:78
Definition: normal.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.