kig
intersection_types.cc
Go to the documentation of this file.
124 ObjectImp* ConicLineOtherIntersectionType::calc( const Args& parents, const KigDocument& doc ) const
157 { PointImp::stype(), I18N_NOOP( "Already computed intersection point"), "SHOULD NOT BE SEEN", true },
158 { PointImp::stype(), I18N_NOOP( "Already computed intersection point"), "SHOULD NOT BE SEEN", true }
179 ObjectImp* CubicLineOtherIntersectionType::calc( const Args& parents, const KigDocument& doc ) const
225 { PointImp::stype(), I18N_NOOP( "Already computed intersection point"), "Already computed intersection point", true },
247 ObjectImp* CubicLineTwoIntersectionType::calc( const Args& parents, const KigDocument& doc ) const
329 ObjectImp* CircleCircleOtherIntersectionType::calc( const Args& parents, const KigDocument& doc ) const
void calcCubicLineRestriction(CubicCartesianData data, Coordinate p, Coordinate v, double &a, double &b, double &c, double &d)
Definition: cubic-common.cc:395
static const ArgsParser::spec argsspecConicLineOtherIntersection[]
Definition: intersection_types.cc:99
static const ArgsParser::spec argsspecLineCubicIntersection[]
Definition: intersection_types.cc:394
static const ArcLineIntersectionType * instance()
Definition: intersection_types.cc:541
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:516
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
An ObjectImp class that is the base of the line-like ObjectImp's: SegmentImp, LineImp and RayImp...
Definition: line_imp.h:31
static const CircleCircleOtherIntersectionType * instance()
Definition: intersection_types.cc:323
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:60
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:444
static const CubicLineOtherIntersectionType * instance()
Definition: intersection_types.cc:173
static const ArgsParser::spec argsspecCubicLineOtherIntersection[]
Definition: intersection_types.cc:153
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:434
static const CircleCircleIntersectionType * instance()
Definition: intersection_types.cc:490
static const ArgsParser::spec argsspecLineLineIntersection[]
Definition: intersection_types.cc:356
static const ArgsParser::spec argsspecConicLineIntersection[]
Definition: intersection_types.cc:34
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:420
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:329
static const ObjectImpType * stype()
Returns the ObjectImpType representing the IntImp type.
Definition: bogus_imp.cc:278
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:459
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:247
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
static const ArgsParser::spec argsspecCubicLineTwoIntersection[]
Definition: intersection_types.cc:221
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:439
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:454
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:124
const Coordinate calcConicLineIntersect(const ConicCartesianData &c, const LineData &l, double knownparam, int which)
This function calculates the intersection of a given line ( l ) and a given conic ( c )...
Definition: conic-common.cpp:367
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:449
static const LineLineIntersectionType * instance()
Definition: intersection_types.cc:374
Coordinate calcCircleRadicalStartPoint(const Coordinate &ca, const Coordinate &cb, double sqra, double sqrb)
Definition: common.cpp:335
static const ArgsParser::spec argsspecCircleCircleOtherIntersection[]
Definition: intersection_types.cc:304
const Coordinate calcArcLineIntersect(const Coordinate &c, const double sqr, const double sa, const double angle, const LineData &l, int side)
this calcs the intersection points of the arc with center c, radius sqrt( r ), start angle sa and ang...
Definition: common.cpp:285
one of the two cubic line intersection points, in case we already know one of the three intersections...
Definition: intersection_types.h:79
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:179
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
static const LineCubicIntersectionType * instance()
Definition: intersection_types.cc:414
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
Coordinate calcIntersectionPoint(const LineData &l1, const LineData &l2)
this calcs the point where the lines l and m intersect...
Definition: common.cpp:57
static const ObjectImpType * stype()
Returns the ObjectImpType representing the CircleImp type.
Definition: circle_imp.cc:342
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:464
circle circle 'other' intersection.
Definition: intersection_types.h:93
double startAngle() const
Return the start angle in radians of this arc.
Definition: other_imp.cc:542
static const ArgsParser::spec argsspecCircleCircleIntersection[]
Definition: intersection_types.cc:469
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: intersection_types.cc:563
static const ArgsParser::spec argsspecArcLineIntersection[]
Definition: intersection_types.cc:521
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
Definition: intersection_types.h:104
virtual const ConicCartesianData cartesianData() const
Return the cartesian representation of this conic.
Definition: conic_imp.cc:285
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:380
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 ConicImp type.
Definition: conic_imp.cc:380
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
const Coordinate calcCubicLineIntersect(const CubicCartesianData &cu, const LineData &l, int root, bool &valid)
Definition: cubic-common.cc:375
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520
static const ConicLineIntersectionType * instance()
Definition: intersection_types.cc:54
static const CubicLineTwoIntersectionType * instance()
Definition: intersection_types.cc:241
bool containsPoint(const Coordinate &p, const KigDocument &doc) const
Return whether this Curve contains the given point.
Definition: cubic_imp.cc:369
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:547
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
const Coordinate calcCircleLineIntersect(const Coordinate &c, const double sqr, const LineData &l, int side)
this calcs the intersection points of the circle with center c and radius sqrt( r )...
Definition: common.cpp:262
Francesca Gatti (frency.gatti@gmail.com), january 2008:
Definition: intersection_types.h:64
static const ConicLineOtherIntersectionType * instance()
Definition: intersection_types.cc:118
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: intersection_types.cc:496
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.