kig
circle_type.cc
Go to the documentation of this file.
32 static const char constructcirclethroughpointstat[] = I18N_NOOP( "Construct a circle through this point" );
34 static const char constructcirclewithcenterstat[] = I18N_NOOP( "Construct a circle with this center" );
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
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: circle_type.cc:181
#define KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE(type)
Definition: objects/common.h:105
LengthImpType lengthimptypeinstance
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
static const char constructcirclethroughpointstat[]
Definition: circle_type.cc:32
static const char constructcirclewithcenterstat[]
Definition: circle_type.cc:34
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: circle_type.cc:93
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: circle_type.cc:216
Definition: argsparser.h:113
static const ObjectImpType * stype()
Returns the ObjectImpType representing the CircleImp type.
Definition: circle_imp.cc:342
const Coordinate calcCenter(const Coordinate &a, const Coordinate &b, const Coordinate &c)
This function calculates the center of the circle going through the three given points.
Definition: common.cpp:366
ObjectImp * calcx(const Coordinate &a, const Coordinate &b) const
Definition: circle_type.cc:61
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
double getDoubleFromImp(const ObjectImp *obj, bool &valid)
Definition: special_imptypes.cc:27
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: circle_type.cc:186
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: circle_type.cc:228
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.