kig
polygon_type.h
Go to the documentation of this file.
int polygonlineintersection(const std::vector< Coordinate > &ppoints, const Coordinate a, const Coordinate b, double &t1, double &t2, std::vector< Coordinate >::const_iterator &intersectionside)
Definition: polygon_type.cc:816
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:1100
static const CPolygonalLineIntersectionType * instance()
Definition: polygon_type.cc:677
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: polygon_type.cc:157
~PolygonLineIntersectionType()
Definition: polygon_type.cc:528
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: polygon_type.cc:219
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: polygon_type.cc:330
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: polygon_type.cc:384
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 isDefinedOnOrThrough(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: polygon_type.cc:189
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: polygon_type.cc:999
Definition: polygon_type.h:190
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:538
bool canMove(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:456
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: polygon_type.cc:65
bool canMove(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:86
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:482
Definition: polygon_type.h:158
Definition: polygon_type.h:148
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:320
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: polygon_type.cc:851
This is an ObjectCalcer that uses one of the various ObjectType's to calculate its ObjectImp...
Definition: object_calcer.h:183
std::vector< ObjectCalcer * > sortArgs(const std::vector< ObjectCalcer * > &args) const
Definition: polygon_type.cc:194
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:425
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:91
Definition: polygon_type.h:168
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
static const PolygonPolygonIntersectionType * instance()
Definition: polygon_type.cc:845
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:1057
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: polygon_type.cc:1087
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: polygon_type.cc:295
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: polygon_type.cc:122
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: polygon_type.cc:468
static const PolygonLineIntersectionType * instance()
Definition: polygon_type.cc:532
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: polygon_type.cc:238
std::vector< ObjectCalcer * > sortArgs(const std::vector< ObjectCalcer * > &args) const
Definition: polygon_type.cc:305
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:968
static const OPolygonalLineIntersectionType * instance()
Definition: polygon_type.cc:645
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: polygon_type.cc:430
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: polygon_type.cc:184
Definition: argsparser.h:113
bool isDefinedOnOrThrough(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: polygon_type.cc:441
The ObjectType class is a thing that represents the "behaviour" for a certain type.
Definition: object_type.h:32
Definition: polygon_type.h:179
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: polygon_type.cc:1042
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:179
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:651
void move(ObjectTypeCalcer &o, const Coordinate &to, const KigDocument &d) const
Definition: polygon_type.cc:99
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:683
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:231
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: polygon_type.cc:349
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: polygon_type.cc:273
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:81
Definition: polygon_type.h:201
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
Definition: polygon_type.h:133
bool canMove(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:315
std::vector< ObjectCalcer * > movableParents(const ObjectTypeCalcer &ourobj) const
Definition: polygon_type.cc:491
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:1011
bool isDefinedOnOrThrough(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: polygon_type.cc:300
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: polygon_type.cc:290
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:342
const Coordinate moveReferencePoint(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:115
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:461
bool isFreelyTranslatable(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:209
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: polygon_type.cc:561
static const PolygonVertexType * instance()
Definition: polygon_type.cc:993
std::vector< ObjectCalcer * > sortArgs(const std::vector< ObjectCalcer * > &args) const
Definition: polygon_type.cc:446
bool canMove(const ObjectTypeCalcer &o) const
Definition: polygon_type.cc:204
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.