Drake
convexHull.h File Reference
#include <vector>
#include <Eigen/Dense>
#include "drake/drakeConvexHull_export.h"
Include dependency graph for convexHull.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Point
 

Typedefs

typedef double coord_t
 
typedef double coord2_t
 

Functions

DRAKECONVEXHULL_EXPORT std::vector< PointconvexHull (std::vector< Point > P)
 
DRAKECONVEXHULL_EXPORT bool inConvexHull (const Eigen::Ref< const Eigen::Matrix< double, 2, Eigen::Dynamic >> &P, const Eigen::Ref< const Eigen::Vector2d > &q, double tolerance=1e-16)
 
DRAKECONVEXHULL_EXPORT double signedDistanceInsideConvexHull (const Eigen::Ref< const Eigen::Matrix< double, 2, Eigen::Dynamic >> &pts, const Eigen::Ref< const Eigen::Vector2d > &q)
 

Typedef Documentation

typedef double coord2_t
typedef double coord_t

Function Documentation

DRAKECONVEXHULL_EXPORT std::vector<Point> convexHull ( std::vector< Point P)

Here is the call graph for this function:

Here is the caller graph for this function:

DRAKECONVEXHULL_EXPORT bool inConvexHull ( const Eigen::Ref< const Eigen::Matrix< double, 2, Eigen::Dynamic >> &  P,
const Eigen::Ref< const Eigen::Vector2d > &  q,
double  tolerance = 1e-16 
)

Here is the caller graph for this function:

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

Here is the caller graph for this function: