kig
tangent_type.cc
Go to the documentation of this file.
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: tangent_type.cc:239
const LineData calcConicPolarLine(const ConicCartesianData &data, const Coordinate &cpole, bool &valid)
This function calculates the polar line of the point cpole with respect to the given conic data...
Definition: conic-common.cpp:293
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE(SegmentAxisType)
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tangent_type.cc:83
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: tangent_type.cc:63
static const ObjectImpType * stype()
Returns the ObjectImpType representing the LineImp type.
Definition: line_imp.cc:528
static const ArgsParser::spec argsspecTangentCubic[]
Definition: tangent_type.cc:145
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: conic_imp.cc:402
virtual const Coordinate getPoint(double param, const KigDocument &) const =0
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tangent_type.cc:209
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
This class represents an equation of a cubic in the form (in homogeneous coordinates, ), .
Definition: cubic-common.h:31
Definition: argsparser.h:113
static const ObjectImpType * stype()
Returns the ObjectImpType representing the ArcImp type.
Definition: other_imp.cc:629
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tangent_type.cc:138
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: tangent_type.cc:113
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: tangent_type.cc:168
static const ArgsParser::spec argsspecTangentConic[]
Definition: tangent_type.cc:40
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
const CubicCartesianData data() const
Return the cartesian representation of this cubic.
Definition: cubic_imp.cc:331
virtual const ConicCartesianData cartesianData() const
Return the cartesian representation of this conic.
Definition: conic_imp.cc:285
virtual bool containsPoint(const Coordinate &p, const KigDocument &) const =0
Return whether this Curve contains the given point.
static const ObjectImpType * stype()
Returns the ObjectImpType representing the CurveImp type.
Definition: curve_imp.cc:27
static const ObjectImpType * stype()
Returns the ObjectImpType representing the ConicImp type.
Definition: conic_imp.cc:380
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
static const char constructlinetangentpoint[]
Definition: tangent_type.cc:34
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: other_imp.cc:661
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: cubic_imp.cc:369
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
static const ArgsParser::spec argsspecTangentCurve[]
Definition: tangent_type.cc:216
virtual double getParam(const Coordinate &point, const KigDocument &) const
Definition: curve_imp.cc:149
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tangent_type.cc:282
This class represents a curve: something which is composed of points, like a line, a circle, a locus.
Definition: curve_imp.h:27
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.