libigl v2.5.0
Loading...
Searching...
No Matches
uniformly_sample_two_manifold.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) 2013 Alec Jacobson <alecjacobson@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#ifndef IGL_UNIFORMLY_SAMPLE_TWO_MANIFOLD_H
9#define IGL_UNIFORMLY_SAMPLE_TWO_MANIFOLD_H
10#include "igl_inline.h"
11#include <Eigen/Dense>
12namespace igl
13{
34 const Eigen::MatrixXd & W,
35 const Eigen::MatrixXi & F,
36 const int k,
37 const double push,
38 Eigen::MatrixXd & WS);
43 const Eigen::MatrixXd & W,
44 const int k,
45 const double push,
46 Eigen::VectorXi & S);
47}
48#ifndef IGL_STATIC_LIBRARY
49# include "uniformly_sample_two_manifold.cpp"
50#endif
51#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void uniformly_sample_two_manifold(const Eigen::MatrixXd &W, const Eigen::MatrixXi &F, const int k, const double push, Eigen::MatrixXd &WS)
Attempt to sample a mesh uniformly with k-points by furthest point relaxation as described in "Fast A...
void uniformly_sample_two_manifold_at_vertices(const Eigen::MatrixXd &W, const int k, const double push, Eigen::VectorXi &S)
This is an overloaded member function, provided for convenience. It differs from the above function o...