libigl v2.5.0
Loading...
Searching...
No Matches
pseudonormal_test.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_PSEUDONORMAL_TEST_H
9#define IGL_PSEUDONORMAL_TEST_H
10#include "igl_inline.h"
11#include <Eigen/Core>
12namespace igl
13{
30 template <
31 typename DerivedV,
32 typename DerivedF,
33 typename DerivedFN,
34 typename DerivedVN,
35 typename DerivedEN,
36 typename DerivedEMAP,
37 typename Derivedq,
38 typename Derivedc,
39 typename Scalar,
40 typename Derivedn>
42 const Eigen::MatrixBase<DerivedV> & V,
43 const Eigen::MatrixBase<DerivedF> & F,
44 const Eigen::MatrixBase<DerivedFN> & FN,
45 const Eigen::MatrixBase<DerivedVN> & VN,
46 const Eigen::MatrixBase<DerivedEN> & EN,
47 const Eigen::MatrixBase<DerivedEMAP> & EMAP,
48 const Eigen::MatrixBase<Derivedq> & q,
49 const int f,
50 Eigen::PlainObjectBase<Derivedc> & c,
51 Scalar & s,
52 Eigen::PlainObjectBase<Derivedn> & n);
55 template <
56 typename DerivedV,
57 typename DerivedF,
58 typename DerivedEN,
59 typename DerivedVN,
60 typename Derivedq,
61 typename Derivedc,
62 typename Scalar,
63 typename Derivedn>
65 const Eigen::MatrixBase<DerivedV> & V,
66 const Eigen::MatrixBase<DerivedF> & E,
67 const Eigen::MatrixBase<DerivedEN> & EN,
68 const Eigen::MatrixBase<DerivedVN> & VN,
69 const Eigen::MatrixBase<Derivedq> & q,
70 const int e,
71 Eigen::PlainObjectBase<Derivedc> & c,
72 Scalar & s,
73 Eigen::PlainObjectBase<Derivedn> & n);
74}
75#ifndef IGL_STATIC_LIBRARY
76# include "pseudonormal_test.cpp"
77#endif
78#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void pseudonormal_test(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedFN > &FN, const Eigen::MatrixBase< DerivedVN > &VN, const Eigen::MatrixBase< DerivedEN > &EN, const Eigen::MatrixBase< DerivedEMAP > &EMAP, const Eigen::MatrixBase< Derivedq > &q, const int f, Eigen::PlainObjectBase< Derivedc > &c, Scalar &s, Eigen::PlainObjectBase< Derivedn > &n)
Given a mesh (V,F), a query point q, and a point on (V,F) c, determine whether q is inside (V,...