libigl v2.5.0
Loading...
Searching...
No Matches
find_self_intersections.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) 2024 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_PREDICATES_FIND_SELF_INTERSECTIONS_H
9#define IGL_PREDICATES_FIND_SELF_INTERSECTIONS_H
10
11#include "../igl_inline.h"
12#include <Eigen/Core>
13
14namespace igl
15{
16 namespace predicates
17 {
28 template <
29 typename DerivedV,
30 typename DerivedF,
31 typename DerivedIF,
32 typename DerivedCP>
34 const Eigen::MatrixBase<DerivedV> & V,
35 const Eigen::MatrixBase<DerivedF> & F,
36 const bool first_only,
37 Eigen::PlainObjectBase<DerivedIF> & IF,
38 Eigen::PlainObjectBase<DerivedCP> & CP);
43 template <
44 typename DerivedV,
45 typename DerivedF,
46 typename DerivedIF,
47 typename DerivedCP,
48 typename DerivedEV,
49 typename DerivedEE,
50 typename DerivedEI>
52 const Eigen::MatrixBase<DerivedV> & V,
53 const Eigen::MatrixBase<DerivedF> & F,
54 Eigen::PlainObjectBase<DerivedIF> & IF,
55 Eigen::PlainObjectBase<DerivedCP> & CP,
56 Eigen::PlainObjectBase<DerivedEV> & EV,
57 Eigen::PlainObjectBase<DerivedEE> & EE,
58 Eigen::PlainObjectBase<DerivedEI> & EI);
59 }
60}
61
62#ifndef IGL_STATIC_LIBRARY
63# include "find_self_intersections.cpp"
64#endif
65
66#endif
67
#define IGL_INLINE
Definition igl_inline.h:15
Definition cubic_winding_number.h:9
bool find_self_intersections(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const bool first_only, Eigen::PlainObjectBase< DerivedIF > &IF, Eigen::PlainObjectBase< DerivedCP > &CP)
Identify triangle-triangle interesections within the same mesh using AABBTree and igl::predicates::tr...
Definition AABB.h:18