libigl
v2.5.0
Loading...
Searching...
No Matches
euler_characteristic.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) 2016 Michael Rabinovich <michaelrabinovich27@gmail.com>
4
// Copyright (C) 2017 Alec Jacobson <alecjacobson@gmail.com>
5
//
6
// This Source Code Form is subject to the terms of the Mozilla Public License
7
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
8
// obtain one at http://mozilla.org/MPL/2.0/.
9
#ifndef IGL_EULER_CHARACTERISTIC_H
10
#define IGL_EULER_CHARACTERISTIC_H
11
#include "
igl_inline.h
"
12
13
#include <Eigen/Dense>
14
#include <Eigen/Sparse>
15
#include <vector>
16
namespace
igl
17
{
34
template
<
typename
DerivedF>
35
IGL_INLINE
int
euler_characteristic
(
36
const
Eigen::MatrixBase<DerivedF> & F);
37
}
38
39
#ifndef IGL_STATIC_LIBRARY
40
# include "euler_characteristic.cpp"
41
#endif
42
43
#endif
igl_inline.h
IGL_INLINE
#define IGL_INLINE
Definition
igl_inline.h:15
igl
Definition
AABB.h:17
igl::euler_characteristic
int euler_characteristic(const Eigen::MatrixBase< DerivedF > &F)
Computes the Euler characteristic of a given mesh (V,F)
include
igl
euler_characteristic.h
Generated by
1.9.8