Loading [MathJax]/extensions/tex2jax.js
libigl v2.5.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
comb_line_field.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) 2014 Nico Pietroni <nico.pietroni@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_COMB_LINE_FIELD_H
10#define IGL_COMB_LINE_FIELD_H
11#include "igl_inline.h"
12#include <Eigen/Core>
13namespace igl
14{
22 template <typename DerivedV, typename DerivedF>
23 IGL_INLINE void comb_line_field(const Eigen::MatrixBase<DerivedV> &V,
24 const Eigen::MatrixBase<DerivedF> &F,
25 const Eigen::MatrixBase<DerivedV> &PD1in,
26 Eigen::PlainObjectBase<DerivedV> &PD1out);
27}
28#ifndef IGL_STATIC_LIBRARY
29#include "comb_line_field.cpp"
30#endif
31
32#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void comb_line_field(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedV > &PD1in, Eigen::PlainObjectBase< DerivedV > &PD1out)
Computes principal matchings of the vectors of a cross field across face edges, and generates a combe...