8#ifndef IGL_VOXEL_GRID_H 
    9#define IGL_VOXEL_GRID_H 
   12#include <Eigen/Geometry> 
   28    const Eigen::AlignedBox<Scalar,3> & box, 
 
   31    Eigen::PlainObjectBase<DerivedGV> & GV,
 
   32    Eigen::PlainObjectBase<Derivedside> & side);
 
   40    const Eigen::MatrixBase<DerivedV> & V, 
 
   41    const typename DerivedV::Scalar offset,
 
   44    Eigen::PlainObjectBase<DerivedGV> & GV,
 
   45    Eigen::PlainObjectBase<Derivedside> & side);
 
   47#ifndef IGL_STATIC_LIBRARY 
   48#  include "voxel_grid.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void voxel_grid(const Eigen::AlignedBox< Scalar, 3 > &box, const int s, const int pad_count, Eigen::PlainObjectBase< DerivedGV > &GV, Eigen::PlainObjectBase< Derivedside > &side)
Construct the cell center positions of a regular voxel grid (lattice) made of perfectly square voxels...