kig
#include "polygon_type.h"
#include <math.h>
#include "bogus_imp.h"
#include "line_imp.h"
#include "point_imp.h"
#include "polygon_imp.h"
#include "object_calcer.h"
#include "../misc/common.h"
#include <klocale.h>
#include <cmath>
#include <vector>
Include dependency graph for polygon_type.cc:
Go to the source code of this file.
Functions | |
int | polygonlineintersection (const std::vector< Coordinate > &ppoints, const Coordinate a, const Coordinate b, bool boundleft, bool boundright, bool inside, bool openpolygon, double &t1, double &t2, std::vector< Coordinate >::const_iterator &intersectionside) |
int | polygonlineintersection (const std::vector< Coordinate > &ppoints, const Coordinate a, const Coordinate b, double &t1, double &t2, std::vector< Coordinate >::const_iterator &intersectionside) |
Variables | |
static const ArgsParser::spec | argsspecConvexHull [] |
static const ArgsParser::spec | argsspecCPolygonalLineIntersection [] |
static const ArgsParser::spec | argsspecOPolygonalLineIntersection [] |
static const ArgsParser::spec | argsspecPolygonLineIntersection [] |
static const ArgsParser::spec | argsspecPolygonPolygonIntersection [] |
static const ArgsParser::spec | argsspecPolygonSide [] |
static const ArgsParser::spec | argsspecPolygonVertex [] |
static const struct ArgsParser::spec | argsspecTriangleB3P [] |
static const char | triangle_constructstatement [] = I18N_NOOP( "Construct a triangle with this vertex" ) |
static const char | triangle_constructstatement2 [] = I18N_NOOP( "Select a point to be a vertex of the new triangle..." ) |
Function Documentation
int polygonlineintersection | ( | const std::vector< Coordinate > & | ppoints, |
const Coordinate | a, | ||
const Coordinate | b, | ||
bool | boundleft, | ||
bool | boundright, | ||
bool | inside, | ||
bool | openpolygon, | ||
double & | t1, | ||
double & | t2, | ||
std::vector< Coordinate >::const_iterator & | intersectionside | ||
) |
Definition at line 712 of file polygon_type.cc.
int polygonlineintersection | ( | const std::vector< Coordinate > & | ppoints, |
const Coordinate | a, | ||
const Coordinate | b, | ||
double & | t1, | ||
double & | t2, | ||
std::vector< Coordinate >::const_iterator & | intersectionside | ||
) |
Definition at line 816 of file polygon_type.cc.
Variable Documentation
|
static |
Initial value:
=
{
{ AbstractPolygonImp::stype(), I18N_NOOP( "Construct the convex hull of this polygon" ),
I18N_NOOP( "Select the polygon of which you want to construct the convex hull..." ), false }
}
static const ObjectImpType * stype()
Returns the ObjectImpType representing the PolygonImp type.
Definition: polygon_imp.cc:651
Definition at line 1064 of file polygon_type.cc.
|
static |
Initial value:
=
{
{ ClosedPolygonalImp::stype(), I18N_NOOP( "Intersect this polygonal curve with a line" ),
I18N_NOOP( "Select the polygonal curve of which you want the intersection with a line..." ), false },
I18N_NOOP( "Intersect this line with a polygonal curve" ),
I18N_NOOP( "Select the line of which you want the intersection with a polygonal curve..." ), false },
}
static const ObjectImpType * stype()
Returns the ObjectImpType representing the IntImp type.
Definition: bogus_imp.cc:278
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520
Definition at line 656 of file polygon_type.cc.
|
static |
Initial value:
=
{
{ OpenPolygonalImp::stype(), I18N_NOOP( "Intersect this polygonal curve with a line" ),
I18N_NOOP( "Select the polygonal curve of which you want the intersection with a line..." ), false },
I18N_NOOP( "Intersect this line with a polygonal curve" ),
I18N_NOOP( "Select the line of which you want the intersection with a polygonal curve..." ), false },
}
static const ObjectImpType * stype()
Returns the ObjectImpType representing the IntImp type.
Definition: bogus_imp.cc:278
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520
Definition at line 624 of file polygon_type.cc.
|
static |
Initial value:
=
{
{ FilledPolygonImp::stype(), I18N_NOOP( "Intersect this polygon with a line" ),
I18N_NOOP( "Select the polygon of which you want the intersection with a line..." ), false },
I18N_NOOP( "Intersect this line with a polygon" ),
I18N_NOOP( "Select the line of which you want the intersection with a polygon..." ), false }
}
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520
Definition at line 505 of file polygon_type.cc.
|
static |
Initial value:
=
{
{ FilledPolygonImp::stype(), I18N_NOOP( "Intersect this polygon with another polygon" ),
I18N_NOOP( "Select the polygon of which you want the intersection with another polygon..." ), false },
{ FilledPolygonImp::stype(), I18N_NOOP( "Intersect with this polygon" ),
I18N_NOOP( "Select the second polygon for the intersection..." ), false }
}
Definition at line 826 of file polygon_type.cc.
|
static |
Initial value:
=
{
{ FilledPolygonImp::stype(), I18N_NOOP( "Construct the sides of this polygon" ),
I18N_NOOP( "Select the polygon of which you want to construct the sides..." ), false },
}
static const ObjectImpType * stype()
Returns the ObjectImpType representing the IntImp type.
Definition: bogus_imp.cc:278
Definition at line 1018 of file polygon_type.cc.
|
static |
Initial value:
=
{
{ FilledPolygonImp::stype(), I18N_NOOP( "Construct the vertices of this polygon" ),
I18N_NOOP( "Select the polygon of which you want to construct the vertices..." ), true },
}
static const ObjectImpType * stype()
Returns the ObjectImpType representing the IntImp type.
Definition: bogus_imp.cc:278
Definition at line 975 of file polygon_type.cc.
|
static |
Initial value:
=
{
}
static const char triangle_constructstatement2[]
Definition: polygon_type.cc:39
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
static const char triangle_constructstatement[]
Definition: polygon_type.cc:38
Definition at line 41 of file polygon_type.cc.
|
static |
Definition at line 38 of file polygon_type.cc.
|
static |
Definition at line 39 of file polygon_type.cc.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 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:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.