libigl v2.5.0
Loading...
Searching...
No Matches
points_inside_component.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 Qingnan Zhou <qnzhou@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_POINTS_INSIDE_COMPONENTS
9#define IGL_COPYLEFT_CGAL_POINTS_INSIDE_COMPONENTS
10
11#include "../../igl_inline.h"
12#include <Eigen/Core>
13#include <vector>
14
15namespace igl
16{
17 namespace copyleft
18 {
19 namespace cgal {
34 template<
35 typename DerivedV,
36 typename DerivedF,
37 typename DerivedI,
38 typename DerivedP,
39 typename DerivedB>
41 const Eigen::PlainObjectBase<DerivedV>& V,
42 const Eigen::PlainObjectBase<DerivedF>& F,
43 const Eigen::PlainObjectBase<DerivedI>& I,
44 const Eigen::PlainObjectBase<DerivedP>& P,
45 Eigen::PlainObjectBase<DerivedB>& inside);
47 template<
48 typename DerivedV,
49 typename DerivedF,
50 typename DerivedP,
51 typename DerivedB>
53 const Eigen::PlainObjectBase<DerivedV>& V,
54 const Eigen::PlainObjectBase<DerivedF>& F,
55 const Eigen::PlainObjectBase<DerivedP>& P,
56 Eigen::PlainObjectBase<DerivedB>& inside);
57 }
58 }
59}
60
61#ifndef IGL_STATIC_LIBRARY
62#include "points_inside_component.cpp"
63#endif
64#endif
#define IGL_INLINE
Definition igl_inline.h:15
void points_inside_component(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, const Eigen::PlainObjectBase< DerivedI > &I, const Eigen::PlainObjectBase< DerivedP > &P, Eigen::PlainObjectBase< DerivedB > &inside)
Determine if queries points P are inside of connected facet component (V, F, I), where I indicates a ...
Definition AABB.h:17