Go to the documentation of this file.
26 #include "../HandLocalisationConstants.h"
27 #include "Math/Math3d.h"
80 int* num_hull_points_left,
82 int* num_hull_points_right,
88 int* num_hull_points_left,
90 int* num_hull_points_right);
113 Vec3d* clockwiseHullPoly1,
114 Vec3d* clockwiseHullPoly2);
#define DSHT_MAX_POLYGON_CORNERS
VectorXD< 3, double > Vec3d
Vec3d hullLeft[2 *DSHT_MAX_POLYGON_CORNERS+1]
bool LeftTurn(Vec3d p1, Vec3d p2, Vec3d p3)
bool RightTurn(Vec3d p1, Vec3d p2, Vec3d p3)
void GetPolygonIntersection(Polygon *p1, Polygon *p2, Polygon *pInter, Vec3d *pointAccu, bool *boolTable, Vec3d *clockwiseHullPoly1, Vec3d *clockwiseHullPoly2)
Vec3d hull[2 *DSHT_MAX_POLYGON_CORNERS]
void SortByY(Vec3d *inout, int arraylength)
void CreateConvexPolygonFromHullPoints(Vec3d *hullpoints, int nPoints, Polygon *pol)
Vec3d hullRight[2 *DSHT_MAX_POLYGON_CORNERS+1]
bool PolygonsMightIntersect(Polygon *pol1, Polygon *pol2)
void SortByX(Vec3d *inout, int arraylength)
Vec3d hullCircle[2 *DSHT_MAX_POLYGON_CORNERS+1]
void CalcConvexHull(Vec3d *in, int num_all_points, Vec3d *hull_left, int *num_hull_points_left, Vec3d *hull_right, int *num_hull_points_right, Vec3d *temp1, Vec3d *temp2)
bool PointIsOnTheRightSideOfTheLine(Vec3d Point, Vec3d linePoint1, Vec3d linePoint2)