libigl v2.5.0
Loading...
Searching...
No Matches
point_areas.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) 2018 Gavin Barill <gavinpcb@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_POINT_AREAS_H
10#define IGL_POINT_AREAS_H
11#include "../../igl_inline.h"
12#include <Eigen/Core>
13namespace igl
14{
15 namespace copyleft
16 {
17 namespace cgal
18 {
39 // @param[out] T #P by 3 list of tangent plane normals for each point
42 template <typename DerivedP, typename DerivedI, typename DerivedN,
43 typename DerivedA, typename DerivedT>
45 const Eigen::MatrixBase<DerivedP>& P,
46 const Eigen::MatrixBase<DerivedI>& I,
47 const Eigen::MatrixBase<DerivedN>& N,
48 Eigen::PlainObjectBase<DerivedA> & A,
49 Eigen::PlainObjectBase<DerivedT> & T);
51 template <typename DerivedP, typename DerivedI, typename DerivedN,
52 typename DerivedA>
54 const Eigen::MatrixBase<DerivedP>& P,
55 const Eigen::MatrixBase<DerivedI>& I,
56 const Eigen::MatrixBase<DerivedN>& N,
57 Eigen::PlainObjectBase<DerivedA> & A);
58
59 }
60 }
61}
62
63#ifndef IGL_STATIC_LIBRARY
64# include "point_areas.cpp"
65#endif
66
67#endif
68
#define IGL_INLINE
Definition igl_inline.h:15
void point_areas(const Eigen::MatrixBase< DerivedP > &P, const Eigen::MatrixBase< DerivedI > &I, const Eigen::MatrixBase< DerivedN > &N, Eigen::PlainObjectBase< DerivedA > &A, Eigen::PlainObjectBase< DerivedT > &T)
Given a 3D set of points P, each with a list of k-nearest-neighbours, estimate the geodesic voronoi a...
Definition AABB.h:17