libigl v2.5.0
Loading...
Searching...
No Matches
order_facets_around_edge.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//
9#ifndef IGL_COPYLEFT_CGAL_ORDER_FACETS_AROUND_EDGE_H
10#define IGL_COPYLEFT_CGAL_ORDER_FACETS_AROUND_EDGE_H
11#include "../../igl_inline.h"
12#include <Eigen/Core>
13#include <vector>
14
15namespace igl
16{
17 namespace copyleft
18 {
19 namespace cgal
20 {
37 template<
38 typename DerivedV,
39 typename DerivedF,
40 typename DerivedI >
43 const Eigen::PlainObjectBase<DerivedV>& V,
44 const Eigen::PlainObjectBase<DerivedF>& F,
45 size_t s,
46 size_t d,
47 const std::vector<int>& adj_faces,
48 Eigen::PlainObjectBase<DerivedI>& order,
49 bool debug=false);
57 template<
58 typename DerivedV,
59 typename DerivedF,
60 typename DerivedI>
63 const Eigen::PlainObjectBase<DerivedV>& V,
64 const Eigen::PlainObjectBase<DerivedF>& F,
65 size_t s,
66 size_t d,
67 const std::vector<int>& adj_faces,
68 const Eigen::PlainObjectBase<DerivedV>& pivot_point,
69 Eigen::PlainObjectBase<DerivedI>& order);
70 }
71 }
72}
73
74#ifndef IGL_STATIC_LIBRARY
75#include "order_facets_around_edge.cpp"
76#endif
77#endif
#define IGL_INLINE
Definition igl_inline.h:15
void order_facets_around_edge(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, size_t s, size_t d, const std::vector< int > &adj_faces, Eigen::PlainObjectBase< DerivedI > &order, bool debug=false)
Given a directed edge, sort its adjacent faces.
Definition AABB.h:17