Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions | Variables
JGeometry2DToolkit.hh File Reference
#include <utility>
#include <algorithm>
#include <limits>
#include "JGeometry2D/JPosition2D.hh"
#include "JMath/JMathToolkit.hh"

Go to the source code of this file.

Classes

class  JGEOMETRY2D::JCenter2D
 Center. More...
 
class  JGEOMETRY2D::JConvexHull2D
 Auxiliary class for convex hull determination in X-Y plane. More...
 
struct  JGEOMETRY2D::JConvexHull2D::JLowerHull
 Auxiliary class for sorting elements. More...
 
struct  JGEOMETRY2D::JConvexHull2D::JUpperHull
 Auxiliary class for sorting elements. More...
 
class  JGEOMETRY2D::JSmallestDistance2D
 Auxiliary class for determination of smallest distance between pair of 2D points. More...
 
struct  JGEOMETRY2D::JSmallestDistance2D::JCompareX
 Auxiliary class for sorting elements. More...
 
struct  JGEOMETRY2D::JSmallestDistance2D::JCompareY
 Auxiliary class for sorting elements. More...
 

Namespaces

 JGEOMETRY2D
 Auxiliary classes and methods for 2D geometrical objects and operations.
 
 JPP
 

Functions

template<class T >
bool JGEOMETRY2D::getCCW (const T &a, const T &b, const T &c)
 Check sequence of three points in X-Y plane. More...
 
template<class T >
double JGEOMETRY2D::getArea2D (T __begin, T __end)
 Get area of a convex polygon. More...
 
template<class T >
bool JGEOMETRY2D::inside2D (T __begin, T __end, const JVector2D &pos)
 Check if given point is inside a convex polygon. More...
 
template<class T >
bool JGEOMETRY2D::inside2D (T __begin, T __end1, T __end2, const JVector2D &pos)
 Check if given point is inside a convex polygon. More...
 

Variables

static const JConvexHull2D JGEOMETRY2D::getConvexHull2D
 Function object for convex hull determination. More...
 
static const JSmallestDistance2D JGEOMETRY2D::getSmallestDistance2D
 Function object for smallest distance determination. More...