libigl v2.5.0
Loading...
Searching...
No Matches
edge_crossings.h
Go to the documentation of this file.
1#ifndef IGL_EDGE_CROSSINGS_H
2#define IGL_EDGE_CROSSINGS_H
3
4#include "igl_inline.h"
5#include <Eigen/Core>
6#include <unordered_map>
7
8namespace igl
9{
20 template <
21 typename DeriveduE,
22 typename DerivedS,
23 typename DerivedT>
25 const Eigen::MatrixBase<DeriveduE> & uE,
26 const Eigen::MatrixBase<DerivedS> & S,
27 const typename DerivedS::Scalar val,
28 std::unordered_map<int,int> & uE2I,
29 Eigen::PlainObjectBase<DerivedT> & T);
30}
31
32#ifndef IGL_STATIC_LIBRARY
33# include "edge_crossings.cpp"
34#endif
35
36#endif
Definition AABB.h:17
void edge_crossings(const Eigen::MatrixBase< DeriveduE > &uE, const Eigen::MatrixBase< DerivedS > &S, const typename DerivedS::Scalar val, std::unordered_map< int, int > &uE2I, Eigen::PlainObjectBase< DerivedT > &T)
Compute the each point that a scalar field crosses a specified value along an edge of a mesh.