libigl v2.5.0
Loading...
Searching...
No Matches
intersect_with_half_space.h
Go to the documentation of this file.
1#ifndef IGL_COPYLEFT_CGAL_INTERSECT_WITH_HALF_SPACE_H
2#define IGL_COPYLEFT_CGAL_INTERSECT_WITH_HALF_SPACE_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 {
25 template <
26 typename DerivedV,
27 typename DerivedF,
28 typename Derivedp,
29 typename Derivedn,
30 typename DerivedVC,
31 typename DerivedFC,
32 typename DerivedJ>
34 const Eigen::MatrixBase<DerivedV > & V,
35 const Eigen::MatrixBase<DerivedF > & F,
36 const Eigen::MatrixBase<Derivedp > & p,
37 const Eigen::MatrixBase<Derivedn > & n,
38 Eigen::PlainObjectBase<DerivedVC > & VC,
39 Eigen::PlainObjectBase<DerivedFC > & FC,
40 Eigen::PlainObjectBase<DerivedJ > & J);
44 template <
45 typename DerivedV,
46 typename DerivedF,
47 typename Derivedequ,
48 typename DerivedVC,
49 typename DerivedFC,
50 typename DerivedJ>
52 const Eigen::MatrixBase<DerivedV > & V,
53 const Eigen::MatrixBase<DerivedF > & F,
54 const Eigen::MatrixBase<Derivedequ > & equ,
55 Eigen::PlainObjectBase<DerivedVC > & VC,
56 Eigen::PlainObjectBase<DerivedFC > & FC,
57 Eigen::PlainObjectBase<DerivedJ > & J);
60 template <
61 typename DerivedV,
62 typename DerivedF,
63 typename DerivedVC,
64 typename DerivedFC,
65 typename DerivedJ>
67 const Eigen::MatrixBase<DerivedV > & V,
68 const Eigen::MatrixBase<DerivedF > & F,
69 const CGAL::Plane_3<CGAL::Epeck> & P,
70 Eigen::PlainObjectBase<DerivedVC > & VC,
71 Eigen::PlainObjectBase<DerivedFC > & FC,
72 Eigen::PlainObjectBase<DerivedJ > & J);
73 }
74 }
75}
76
77#ifndef IGL_STATIC_LIBRARY
78# include "intersect_with_half_space.cpp"
79#endif
80
81#endif
#define IGL_INLINE
Definition igl_inline.h:15
bool intersect_with_half_space(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< Derivedp > &p, const Eigen::MatrixBase< Derivedn > &n, Eigen::PlainObjectBase< DerivedVC > &VC, Eigen::PlainObjectBase< DerivedFC > &FC, Eigen::PlainObjectBase< DerivedJ > &J)
Intersect a PWN mesh with a half-space.
Definition AABB.h:17