libigl v2.5.0
Loading...
Searching...
No Matches
point_in_convex_hull.h
Go to the documentation of this file.
1#ifndef IGL_PREDICATES_POINT_IN_CONVEX_POLYGON_H
2#define IGL_PREDICATES_POINT_IN_CONVEX_POLYGON_H
3
4#include "../igl_inline.h"
5#include <Eigen/Core>
6#include "../Orientation.h"
7
8namespace igl
9{
10 namespace predicates
11 {
24 template <
25 typename Derivedq,
26 typename Deriveda,
27 typename Derivedb,
28 typename Derivedc,
29 typename Derivedd>
31 const Eigen::MatrixBase<Derivedq> & q,
32 const Eigen::MatrixBase<Deriveda> & a,
33 const Eigen::MatrixBase<Derivedb> & b,
34 const Eigen::MatrixBase<Derivedc> & c,
35 const Eigen::MatrixBase<Derivedd> & d);
36 }
37}
38
39#ifndef IGL_STATIC_LIBRARY
40#include "point_in_convex_hull.cpp"
41#endif
42
43#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition cubic_winding_number.h:9
Orientation 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 point...
Definition AABB.h:18
Orientation
Types of orientations and other predicate results.
Definition Orientation.h:20