libigl v2.5.0
Loading...
Searching...
No Matches
sharp_edges.h
Go to the documentation of this file.
1#ifndef IGL_SHARP_EDGES_H
2#define IGL_SHARP_EDGES_H
3
4#include "igl_inline.h"
5#include <Eigen/Core>
6#include <vector>
7
8namespace igl
9{
24 template <
25 typename DerivedV,
26 typename DerivedF,
27 typename DerivedSE,
28 typename DerivedE,
29 typename DeriveduE,
30 typename DerivedEMAP,
31 typename uE2Etype,
32 typename sharptype>
34 const Eigen::MatrixBase<DerivedV> & V,
35 const Eigen::MatrixBase<DerivedF> & F,
36 const typename DerivedV::Scalar angle,
37 Eigen::PlainObjectBase<DerivedSE> & SE,
38 Eigen::PlainObjectBase<DerivedE> & E,
39 Eigen::PlainObjectBase<DeriveduE> & uE,
40 Eigen::PlainObjectBase<DerivedEMAP> & EMAP,
41 std::vector<std::vector<uE2Etype> > & uE2E,
42 std::vector< sharptype > & sharp);
44 template <
45 typename DerivedV,
46 typename DerivedF,
47 typename DerivedSE>
49 const Eigen::MatrixBase<DerivedV> & V,
50 const Eigen::MatrixBase<DerivedF> & F,
51 const typename DerivedV::Scalar angle,
52 Eigen::PlainObjectBase<DerivedSE> & SE
53 );
54}
55
56#ifndef IGL_STATIC_LIBRARY
57# include "sharp_edges.cpp"
58#endif
59
60#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void sharp_edges(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const typename DerivedV::Scalar angle, Eigen::PlainObjectBase< DerivedSE > &SE, Eigen::PlainObjectBase< DerivedE > &E, Eigen::PlainObjectBase< DeriveduE > &uE, Eigen::PlainObjectBase< DerivedEMAP > &EMAP, std::vector< std::vector< uE2Etype > > &uE2E, std::vector< sharptype > &sharp)
Given a mesh, compute sharp edges.