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::MatrixBase<DerivedVA> & VA,
50 const Eigen::MatrixBase<DerivedFA> & FA,
51 const Eigen::MatrixBase<DerivedVB> & VB,
52 const Eigen::MatrixBase<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);
61 template <
62 typename DerivedVA,
63 typename DerivedFA,
64 typename DerivedVB,
65 typename DerivedFB,
66 typename DerivedIF>
68 const Eigen::MatrixBase<DerivedVA> & VA,
69 const Eigen::MatrixBase<DerivedFA> & FA,
70 const Eigen::MatrixBase<DerivedVB> & VB,
71 const Eigen::MatrixBase<DerivedFB> & FB,
72 const bool first_only,
73 Eigen::PlainObjectBase<DerivedIF> & IF);
74 }
75 }
76}
77
78#ifndef IGL_STATIC_LIBRARY
79# include "intersect_other.cpp"
80#endif
81
82#endif
83
#define IGL_INLINE
Definition igl_inline.h:15
Definition assign.h:19
bool intersect_other(const Eigen::MatrixBase< DerivedVA > &VA, const Eigen::MatrixBase< DerivedFA > &FA, const Eigen::MatrixBase< DerivedVB > &VB, const Eigen::MatrixBase< 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 assign.h:17
Definition AABB.h:18
Parameters for SelfIntersectMesh, remesh_self_intersections and remesh_intersections,...
Definition RemeshSelfIntersectionsParam.h:21