kig
tests_type.cc
Go to the documentation of this file.
302 I18N_NOOP( "Select the point which might have the same distance from two other points..." ), false },
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
bool isOrthogonalTo(const LineData &l) const
Return true if this line is orthogonal to l.
Definition: common.cpp:474
An ObjectImp class that is the base of the line-like ObjectImp's: SegmentImp, LineImp and RayImp...
Definition: line_imp.h:31
static const ArgsParser::spec argsspecSameDistanceType[]
Definition: tests_type.cc:299
static const ArgsParser::spec InPolygonTestArgsSpec[]
Definition: tests_type.cc:210
static const ConvexPolygonTestType * instance()
Definition: tests_type.cc:273
Definition: tests_type.h:78
bool isInPolygon(const Coordinate &p) const
Definition: polygon_imp.cc:137
static const ArgsParser::spec argsspecAreOrthogonal[]
Definition: tests_type.cc:74
static const ObjectImpType * stype()
Returns the ObjectImpType representing the VectorImp type.
Definition: other_imp.cc:613
bool areCollinear(const Coordinate &p1, const Coordinate &p2, const Coordinate &p3)
test collinearity of three points
Definition: common.cpp:489
Definition: tests_type.h:45
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: tests_type.cc:279
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
static const VectorEqualityTestType * instance()
Definition: tests_type.cc:363
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tests_type.cc:69
static const ArgsParser::spec vectorEqualityArgsSpec[]
Definition: tests_type.cc:344
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: tests_type.cc:56
Definition: tests_type.h:34
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tests_type.cc:113
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tests_type.cc:201
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tests_type.cc:418
Definition: argsparser.h:113
Definition: tests_type.h:67
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tests_type.cc:381
static const ArgsParser::spec containsTestArgsSpec[]
Definition: tests_type.cc:164
Definition: tests_type.h:23
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: tests_type.cc:146
Definition: tests_type.h:111
bool isParallelTo(const LineData &l) const
Return true if this line is parallel to l.
Definition: common.cpp:459
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tests_type.cc:339
static const ArgsParser::spec ConvexPolygonTestArgsSpec[]
Definition: tests_type.cc:256
Definition: tests_type.h:56
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
Definition: tests_type.h:89
static const ArgsParser::spec argsspecAreCollinear[]
Definition: tests_type.cc:118
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: tests_type.cc:100
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: tests_type.cc:235
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
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
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: tests_type.cc:369
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: tests_type.cc:326
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: tests_type.cc:189
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tests_type.cc:290
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: tests_type.cc:409
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tests_type.cc:159
Definition: bogus_imp.h:253
This class represents a curve: something which is composed of points, like a line, a circle, a locus.
Definition: curve_imp.h:27
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: tests_type.cc:247
Definition: tests_type.h:100
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.