libigl v2.5.0
Loading...
Searching...
No Matches
icosahedron.h
Go to the documentation of this file.
1#ifndef IGL_ICOSAHEDRON_H
2#define IGL_ICOSAHEDRON_H
3#include "igl_inline.h"
4#include <Eigen/Core>
5
6namespace igl
7{
8 // Construct a icosahedron with radius 1 centered at the origin
9 //
10 // Outputs:
11 // V #V by 3 list of vertex positions
12 // F #F by 3 list of triangle indices into rows of V
13 template <typename DerivedV, typename DerivedF>
15 Eigen::PlainObjectBase<DerivedV> & V,
16 Eigen::PlainObjectBase<DerivedF> & F);
17}
18
19#ifndef IGL_STATIC_LIBRARY
20# include "icosahedron.cpp"
21#endif
22
23#endif
24
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void icosahedron(Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F)