libigl v2.5.0
Loading...
Searching...
No Matches
outer_element.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 Qingan 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_OUTER_ELEMENT_H
9#define IGL_OUTER_ELEMENT_H
10#include "igl_inline.h"
11#include <Eigen/Core>
12namespace igl
13{
28 template <
29 typename DerivedV,
30 typename DerivedF,
31 typename DerivedI,
32 typename IndexType,
33 typename DerivedA
34 >
36 const Eigen::MatrixBase<DerivedV> & V,
37 const Eigen::MatrixBase<DerivedF> & F,
38 const Eigen::MatrixBase<DerivedI> & I,
39 IndexType & v_index,
40 Eigen::PlainObjectBase<DerivedA> & A);
57 template<
58 typename DerivedV,
59 typename DerivedF,
60 typename DerivedI,
61 typename IndexType,
62 typename DerivedA
63 >
65 const Eigen::MatrixBase<DerivedV> & V,
66 const Eigen::MatrixBase<DerivedF> & F,
67 const Eigen::MatrixBase<DerivedI> & I,
68 IndexType & v1,
69 IndexType & v2,
70 Eigen::PlainObjectBase<DerivedA> & A);
87 template<
88 typename DerivedV,
89 typename DerivedF,
90 typename DerivedN,
91 typename DerivedI,
92 typename IndexType
93 >
95 const Eigen::MatrixBase<DerivedV> & V,
96 const Eigen::MatrixBase<DerivedF> & F,
97 const Eigen::MatrixBase<DerivedN> & N,
98 const Eigen::MatrixBase<DerivedI> & I,
99 IndexType & f,
100 bool & flipped);
101}
102
103#ifndef IGL_STATIC_LIBRARY
104# include "outer_element.cpp"
105#endif
106#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void outer_edge(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedI > &I, IndexType &v1, IndexType &v2, Eigen::PlainObjectBase< DerivedA > &A)
Find an edge that is reachable from infinity without crossing any faces.
void outer_facet(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedN > &N, const Eigen::MatrixBase< DerivedI > &I, IndexType &f, bool &flipped)
Find a facet that is reachable from infinity without crossing any faces.
void outer_vertex(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedI > &I, IndexType &v_index, Eigen::PlainObjectBase< DerivedA > &A)
Find a vertex that is reachable from infinite without crossing any faces.