libigl v2.5.0
Loading...
Searching...
No Matches
mesh_boolean_type_to_funcs.h
Go to the documentation of this file.
1#ifndef IGL_COPYLEFT_CGAL_MESH_BOOLEAN_TYPE_TO_FUNCS_H
2#define IGL_COPYLEFT_CGAL_MESH_BOOLEAN_TYPE_TO_FUNCS_H
3
4#include "../../igl_inline.h"
5#include "../../MeshBooleanType.h"
6#include <Eigen/Core>
7#include <functional>
8namespace igl
9{
10 namespace copyleft
11 {
12 namespace cgal
13 {
25 const MeshBooleanType & type,
26 std::function<int(const Eigen::Matrix<int,1,Eigen::Dynamic>) >&
27 wind_num_op,
28 std::function<int(const int, const int)> & keep);
29 }
30 }
31}
32#ifndef IGL_STATIC_LIBRARY
33# include "mesh_boolean_type_to_funcs.cpp"
34#endif
35#endif
#define IGL_INLINE
Definition igl_inline.h:15
void mesh_boolean_type_to_funcs(const MeshBooleanType &type, std::function< int(const Eigen::Matrix< int, 1, Eigen::Dynamic >) > &wind_num_op, std::function< int(const int, const int)> &keep)
Convert a MeshBooleanType enum to a pair of winding number conversion function and "keep" function us...
Definition AABB.h:17
MeshBooleanType
Boolean operation types.
Definition MeshBooleanType.h:14