libigl v2.5.0
Loading...
Searching...
No Matches
circulation.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_CIRCULATION_H
9#define IGL_CIRCULATION_H
10#include "igl_inline.h"
11#include <Eigen/Core>
12#include <vector>
13
14namespace igl
15{
31 template <typename DerivedEMAP, typename DerivedEF, typename DerivedEI>
32 IGL_INLINE std::vector<int> circulation(
33 const int e,
34 const bool ccw,
35 const Eigen::MatrixBase<DerivedEMAP> & EMAP,
36 const Eigen::MatrixBase<DerivedEF> & EF,
37 const Eigen::MatrixBase<DerivedEI> & EI);
53 template <typename DerivedEMAP, typename DerivedEF, typename DerivedEI, typename DerivedvN>
55 const int e,
56 const bool ccw,
57 const Eigen::MatrixBase<DerivedEMAP> & EMAP,
58 const Eigen::MatrixBase<DerivedEF> & EF,
59 const Eigen::MatrixBase<DerivedEI> & EI,
60 Eigen::PlainObjectBase<DerivedvN> & vN);
77 template <typename DerivedF, typename DerivedEMAP, typename DerivedEF, typename DerivedEI, typename Nv_type>
79 const int e,
80 const bool ccw,
81 const Eigen::MatrixBase<DerivedF> & F,
82 const Eigen::MatrixBase<DerivedEMAP> & EMAP,
83 const Eigen::MatrixBase<DerivedEF> & EF,
84 const Eigen::MatrixBase<DerivedEI> & EI,
85 /*std::vector<int> & Ne,*/
86 std::vector<Nv_type> & Nv,
87 std::vector<Nv_type> & Nf);
88}
89
90#ifndef IGL_STATIC_LIBRARY
91# include "circulation.cpp"
92#endif
93#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:18
std::vector< int > circulation(const int e, const bool ccw, const Eigen::MatrixBase< DerivedEMAP > &EMAP, const Eigen::MatrixBase< DerivedEF > &EF, const Eigen::MatrixBase< DerivedEI > &EI)
Return list of faces around the end point of an edge.