Drake
convexHull.cpp File Reference
#include <algorithm>
#include <vector>
#include <iostream>
#include "drake/util/convexHull.h"
Include dependency graph for convexHull.cpp:

Functions

coord2_t cross (const Point &O, const Point &A, const Point &B)
 
vector< PointconvexHull (vector< Point > P)
 
vector< PointeigenToPoints (const Ref< const Matrix< double, 2, Dynamic >> &P)
 
bool inConvexHull (const Ref< const Matrix< double, 2, Dynamic >> &P, const Ref< const Vector2d > &q, double tolerance)
 
double signedDistanceInsideConvexHull (const Ref< const Matrix< double, 2, Dynamic >> &pts, const Ref< const Vector2d > &q)
 

Function Documentation

vector<Point> convexHull ( vector< Point P)

Here is the call graph for this function:

Here is the caller graph for this function:

coord2_t cross ( const Point O,
const Point A,
const Point B 
)

Here is the caller graph for this function:

vector<Point> eigenToPoints ( const Ref< const Matrix< double, 2, Dynamic >> &  P)

Here is the caller graph for this function:

bool inConvexHull ( const Ref< const Matrix< double, 2, Dynamic >> &  P,
const Ref< const Vector2d > &  q,
double  tolerance 
)

Here is the call graph for this function:

Here is the caller graph for this function:

double signedDistanceInsideConvexHull ( const Ref< const Matrix< double, 2, Dynamic >> &  pts,
const Ref< const Vector2d > &  q 
)

Here is the call graph for this function:

Here is the caller graph for this function: