libigl v2.5.0
Loading...
Searching...
No Matches
half_space_box.h
Go to the documentation of this file.
1#ifndef IGL_COPYLEFT_CGAL_HALF_SPACE_BOX_H
2#define IGL_COPYLEFT_CGAL_HALF_SPACE_BOX_H
3#include "../../igl_inline.h"
4#include <Eigen/Core>
5#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
6#include <CGAL/Plane_3.h>
7
8namespace igl
9{
10 namespace copyleft
11 {
12 namespace cgal
13 {
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);
46 }
47 }
48}
49
50#ifndef IGL_STATIC_LIBRARY
51# include "half_space_box.cpp"
52#endif
53#endif
#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...
Definition AABB.h:17