libigl v2.5.0
Loading...
Searching...
No Matches
half_space_box.h File Reference
#include "../../igl_inline.h"
#include <Eigen/Core>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Plane_3.h>
#include "half_space_box.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
namespace  igl::copyleft
namespace  igl::copyleft::cgal

Functions

template<typename DerivedV, typename Index>
void igl::copyleft::cgal::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< Index, 12, 3 > &BF)
 Construct a mesh of box (BV,BF) so that it contains the intersection of the half-space under the plane (P) and the bounding box of V, and does not contain any of the half-space above (P).
template<typename Derivedp, typename Derivedn, typename DerivedV, typename Index>
void igl::copyleft::cgal::half_space_box (const Eigen::MatrixBase< Derivedp > &p, const Eigen::MatrixBase< Derivedn > &n, const Eigen::MatrixBase< DerivedV > &V, Eigen::Matrix< CGAL::Epeck::FT, 8, 3 > &BV, Eigen::Matrix< Index, 12, 3 > &BF)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<typename Derivedequ, typename DerivedV, typename Index>
void igl::copyleft::cgal::half_space_box (const Eigen::MatrixBase< Derivedequ > &equ, const Eigen::MatrixBase< DerivedV > &V, Eigen::Matrix< CGAL::Epeck::FT, 8, 3 > &BV, Eigen::Matrix< Index, 12, 3 > &BF)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.