8#ifndef IGL_COPYLEFT_CGAL_TRIM_WITH_SOLID_H
9#define IGL_COPYLEFT_CGAL_TRIM_WITH_SOLID_H
11#include "../../igl_inline.h"
71 const Eigen::PlainObjectBase<DerivedVA> & VA,
72 const Eigen::PlainObjectBase<DerivedFA> & FA,
73 const Eigen::PlainObjectBase<DerivedVB> & VB,
74 const Eigen::PlainObjectBase<DerivedFB> & FB,
75 Eigen::PlainObjectBase<DerivedV> & Vd,
76 Eigen::PlainObjectBase<DerivedF> & F,
77 Eigen::PlainObjectBase<DerivedD> & D,
78 Eigen::PlainObjectBase<DerivedJ> & J);
93 const Eigen::PlainObjectBase<DerivedVA> & VA,
94 const Eigen::PlainObjectBase<DerivedFA> & FA,
95 const Eigen::PlainObjectBase<DerivedVB> & VB,
96 const Eigen::PlainObjectBase<DerivedFB> & FB,
98 Eigen::PlainObjectBase<DerivedV> & Vd,
99 Eigen::PlainObjectBase<DerivedF> & F,
100 Eigen::PlainObjectBase<DerivedD> & D,
101 Eigen::PlainObjectBase<DerivedJ> & J);
106#ifndef IGL_STATIC_LIBRARY
107# include "trim_with_solid.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
TrimWithSolidMethod
Definition trim_with_solid.h:21
@ RESOLVE_BOTH_AND_RESTORE_THEN_CHECK_EACH_PATCH
Merge A and B into the same mesh and resolve all self-itnersections.
Definition trim_with_solid.h:43
@ CHECK_EACH_PATCH
Resolve intersections only between A and B, then separate into patches of connected faces — where con...
Definition trim_with_solid.h:31
@ CHECK_EACH_FACE
Resolve intersections only between A and B and then check whether every face in A is inside/outside o...
Definition trim_with_solid.h:24
void trim_with_solid(const Eigen::PlainObjectBase< DerivedVA > &VA, const Eigen::PlainObjectBase< DerivedFA > &FA, const Eigen::PlainObjectBase< DerivedVB > &VB, const Eigen::PlainObjectBase< DerivedFB > &FB, Eigen::PlainObjectBase< DerivedV > &Vd, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedD > &D, Eigen::PlainObjectBase< DerivedJ > &J)
Given an arbitrary mesh (VA,FA) and the boundary mesh (VB,FB) of a solid (as defined in [Zhou et al.