mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-25 01:31:14 -06:00
Fixing dep build script on Windows and removing some warnings. Use bundled igl by default. Not building with the dependency scripts if not explicitly stated. This way, it will stay in Fix the libigl patch to include C source files in header only mode.
30 lines
785 B
C++
30 lines
785 B
C++
#ifndef IGL_EARS_H
|
|
#define IGL_EARS_H
|
|
#include "igl_inline.h"
|
|
#include <Eigen/Core>
|
|
namespace igl
|
|
{
|
|
// FIND_EARS Find all ears (faces with two boundary edges) in a given mesh
|
|
//
|
|
// [ears,ear_opp] = find_ears(F)
|
|
//
|
|
// Inputs:
|
|
// F #F by 3 list of triangle mesh indices
|
|
// Outputs:
|
|
// ears #ears list of indices into F of ears
|
|
// ear_opp #ears list of indices indicating which edge is non-boundary
|
|
// (connecting to flops)
|
|
//
|
|
template <
|
|
typename DerivedF,
|
|
typename Derivedear,
|
|
typename Derivedear_opp>
|
|
IGL_INLINE void ears(
|
|
const Eigen::MatrixBase<DerivedF> & F,
|
|
Eigen::PlainObjectBase<Derivedear> & ear,
|
|
Eigen::PlainObjectBase<Derivedear_opp> & ear_opp);
|
|
}
|
|
#ifndef IGL_STATIC_LIBRARY
|
|
# include "ears.cpp"
|
|
#endif
|
|
#endif
|