libigl v2.5.0
Loading...
Searching...
No Matches
convex_hull.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) 2017 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_COPYLEFT_CGAL_CONVEX_HULL_H
9#define IGL_COPYLEFT_CGAL_CONVEX_HULL_H
10#include "../../igl_inline.h"
11#include <Eigen/Core>
12
13namespace igl
14{
15 namespace copyleft
16 {
17 namespace cgal
18 {
24 template <
25 typename DerivedV,
26 typename DerivedW,
27 typename DerivedG>
29 const Eigen::MatrixBase<DerivedV> & V,
30 Eigen::PlainObjectBase<DerivedW> & W,
31 Eigen::PlainObjectBase<DerivedG> & G);
33 template <
34 typename DerivedV,
35 typename DerivedF>
37 const Eigen::MatrixBase<DerivedV> & V,
38 Eigen::PlainObjectBase<DerivedF> & F);
39 }
40 }
41}
42
43#ifndef IGL_STATIC_LIBRARY
44# include "convex_hull.cpp"
45#endif
46
47#endif
#define IGL_INLINE
Definition igl_inline.h:15
void convex_hull(const Eigen::MatrixBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedW > &W, Eigen::PlainObjectBase< DerivedG > &G)
Given a set of points (V), compute the convex hull as a triangle mesh (W,G)
Definition AABB.h:17