1#ifndef IGL_COPYLEFT_CGAL_HALF_SPACE_BOX_H 
    2#define IGL_COPYLEFT_CGAL_HALF_SPACE_BOX_H 
    3#include "../../igl_inline.h" 
    5#include <CGAL/Exact_predicates_exact_constructions_kernel.h> 
    6#include <CGAL/Plane_3.h> 
   22      template <
typename DerivedV>
 
   24        const CGAL::Plane_3<CGAL::Epeck> & P,
 
   25        const Eigen::MatrixBase<DerivedV> & V,
 
   26        Eigen::Matrix<CGAL::Epeck::FT,8,3> & BV,
 
   27        Eigen::Matrix<int,12,3> & BF);
 
   31      template <
typename Derivedp, 
typename Derivedn, 
typename DerivedV>
 
   33        const Eigen::MatrixBase<Derivedp> & p,
 
   34        const Eigen::MatrixBase<Derivedn> & n,
 
   35        const Eigen::MatrixBase<DerivedV> & V,
 
   36        Eigen::Matrix<CGAL::Epeck::FT,8,3> & BV,
 
   37        Eigen::Matrix<int,12,3> & BF);
 
   40      template <
typename Derivedequ, 
typename DerivedV>
 
   42        const Eigen::MatrixBase<Derivedequ> & equ,
 
   43        const Eigen::MatrixBase<DerivedV> & V,
 
   44        Eigen::Matrix<CGAL::Epeck::FT,8,3> & BV,
 
   45        Eigen::Matrix<int,12,3> & BF);
 
   50#ifndef IGL_STATIC_LIBRARY 
   51#  include "half_space_box.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void half_space_box(const CGAL::Plane_3< CGAL::Epeck > &P, const Eigen::MatrixBase< DerivedV > &V, Eigen::Matrix< CGAL::Epeck::FT, 8, 3 > &BV, Eigen::Matrix< int, 12, 3 > &BF)
Construct a mesh of box (BV,BF) so that it contains the intersection of the half-space under the plan...