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:372
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:242
ObjectImp * calc(const LineData &a, const Coordinate &b) const
Definition: line_type.cc:177
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE(SegmentAxisType)
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:101
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:262
ObjectImp * calc(const LineData &a, const Coordinate &b) const
Definition: line_type.cc:210
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: line_type.cc:362
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:269
static const ObjectImpType * stype()
Returns the ObjectImpType representing the RayImp type.
Definition: line_imp.cc:562
Definition: line_type.h:44
static const ArgsParser::spec argsspecLineParallel[]
Definition: line_type.cc:185
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
Definition: line_type.h:66
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:237
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:247
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:297
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:112
ObjectImp * calc(const Args &parents, const KigDocument &d) const
Definition: line_type.cc:153
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
static const ArgsParser::spec argspecSegmentAxisABType[]
Definition: line_type.cc:130
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:77
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: line_type.cc:322
ObjectImp * calcx(const Coordinate &a, const Coordinate &b) const
Definition: line_type.cc:61
static const ArgsParser::spec argsspecHalflineByVector[]
Definition: line_type.cc:337
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:257
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:252
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: line_type.cc:166
static const HalflineByVectorType * instance()
Definition: line_type.cc:356
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:332
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:89
Definition: normal.h:26
void push(QUndoCommand *cmd)
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
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.