libigl v2.5.0
Loading...
Searching...
No Matches
intersect_other.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_COPYLEFT_CGAL_INTERSECT_OTHER_H
9#define IGL_COPYLEFT_CGAL_INTERSECT_OTHER_H
10#include "../../igl_inline.h"
12
13#include <Eigen/Dense>
14
15namespace igl
16{
17 namespace copyleft
18 {
19 namespace cgal
20 {
38 template <
39 typename DerivedVA,
40 typename DerivedFA,
41 typename DerivedVB,
42 typename DerivedFB,
43 typename DerivedIF,
44 typename DerivedVVAB,
45 typename DerivedFFAB,
46 typename DerivedJAB,
47 typename DerivedIMAB>
49 const Eigen::PlainObjectBase<DerivedVA> & VA,
50 const Eigen::PlainObjectBase<DerivedFA> & FA,
51 const Eigen::PlainObjectBase<DerivedVB> & VB,
52 const Eigen::PlainObjectBase<DerivedFB> & FB,
53 const RemeshSelfIntersectionsParam & params,
54 Eigen::PlainObjectBase<DerivedIF> & IF,
55 Eigen::PlainObjectBase<DerivedVVAB> & VVAB,
56 Eigen::PlainObjectBase<DerivedFFAB> & FFAB,
57 Eigen::PlainObjectBase<DerivedJAB> & JAB,
58 Eigen::PlainObjectBase<DerivedIMAB> & IMAB);
62 const Eigen::MatrixXd & VA,
63 const Eigen::MatrixXi & FA,
64 const Eigen::MatrixXd & VB,
65 const Eigen::MatrixXi & FB,
66 const bool first_only,
67 Eigen::MatrixXi & IF);
68 }
69 }
70}
71
72#ifndef IGL_STATIC_LIBRARY
73# include "intersect_other.cpp"
74#endif
75
76#endif
77
#define IGL_INLINE
Definition igl_inline.h:15
bool intersect_other(const Eigen::PlainObjectBase< DerivedVA > &VA, const Eigen::PlainObjectBase< DerivedFA > &FA, const Eigen::PlainObjectBase< DerivedVB > &VB, const Eigen::PlainObjectBase< DerivedFB > &FB, const RemeshSelfIntersectionsParam &params, Eigen::PlainObjectBase< DerivedIF > &IF, Eigen::PlainObjectBase< DerivedVVAB > &VVAB, Eigen::PlainObjectBase< DerivedFFAB > &FFAB, Eigen::PlainObjectBase< DerivedJAB > &JAB, Eigen::PlainObjectBase< DerivedIMAB > &IMAB)
Given a triangle mesh (VA,FA) and another mesh (VB,FB) find all pairs of intersecting faces.
Definition AABB.h:17
Parameters for SelfIntersectMesh, remesh_self_intersections and remesh_intersections,...
Definition RemeshSelfIntersectionsParam.h:21