libigl v2.5.0
Loading...
Searching...
No Matches
point_in_convex_hull.h File Reference
#include "../igl_inline.h"
#include <Eigen/Core>
#include "../Orientation.h"
#include "point_in_convex_hull.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
namespace  igl::predicates

Functions

template<typename Derivedq, typename Deriveda, typename Derivedb, typename Derivedc, typename Derivedd>
Orientation igl::predicates::point_in_convex_hull (const Eigen::MatrixBase< Derivedq > &q, const Eigen::MatrixBase< Deriveda > &a, const Eigen::MatrixBase< Derivedb > &b, const Eigen::MatrixBase< Derivedc > &c, const Eigen::MatrixBase< Derivedd > &d)
 Determine if the 2D point q is inside, outside, or on the boundary of the convex hull of the 2D points a,b,c,d.