kig
arc_type.cc
Go to the documentation of this file.
47 static const char constructarcstartingstat[] = I18N_NOOP( "Construct an arc starting at this point" );
225 static const char constructconicarcstartingstat[] = I18N_NOOP( "Construct a conic arc starting at this point" );
226 static const char selectconicarcstartingstat[] = I18N_NOOP( "Select the start point of the new conic arc..." );
227 static const char constructconicarcthrustat[] = I18N_NOOP( "Construct a conic arc through this point" );
228 static const char selectconicarcthrustat[] = I18N_NOOP( "Select a point for the new conic arc to go through..." );
229 static const char constructconicarcendingstat[] = I18N_NOOP( "Construct a conic arc ending at this point" );
230 static const char selectconicarcendingstat[] = I18N_NOOP( "Select the end point of the new conic arc..." );
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE(SegmentAxisType)
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be sp...
Definition: object_type.h:113
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: arc_type.cc:76
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: arc_type.cc:154
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: arc_type.cc:190
const ConicCartesianData calcConicThroughPoints(const std::vector< Coordinate > &points, const LinearConstraints c1, const LinearConstraints c2, const LinearConstraints c3, const LinearConstraints c4, const LinearConstraints c5)
Calculate a conic through a given set of points.
Definition: conic-common.cpp:169
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: arc_type.cc:444
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: arc_type.cc:330
Definition: conic-common.h:138
A conic arc, which is given by the cartesian equation and two angles.
Definition: conic_imp.h:172
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
const ObjectImpType * impRequirement(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: arc_type.cc:206
const ObjectImpType * impRequirement(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: arc_type.cc:144
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: arc_type.cc:216
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
static const ObjectImpType * stype()
Returns the ObjectImpType representing the ConicImp type.
Definition: conic_imp.cc:606
Definition: argsparser.h:113
static const ObjectImpType * stype()
Returns the ObjectImpType representing the ArcImp type.
Definition: other_imp.cc:629
Definition: conic-common.h:139
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
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AngleImp type.
Definition: other_imp.cc:597
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: arc_type.cc:370
static const char constructconicarcendingstat[]
Definition: arc_type.cc:229
double getParam(const Coordinate &point, const KigDocument &) const
Definition: conic_imp.cc:646
Definition: conic-common.h:138
a conic arc by a five points, a starting point, intermediate, intermediate (used to compute angles)...
Definition: arc_type.h:87
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: arc_type.cc:261
a conic arc by a start point, an intermediate point, an end point and the conic center ...
Definition: arc_type.h:68
void setStartAngle(double sa)
Set the start angle in radians of this arc.
Definition: conic_imp.h:215
static const char constructconicarcstartingstat[]
Definition: arc_type.cc:225
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.