libigl v2.5.0
Loading...
Searching...
No Matches
box_cubic.h
Go to the documentation of this file.
1#ifndef IGL_CYCODEBASE_BOX_CUBIC_H
2#define IGL_CYCODEBASE_BOX_CUBIC_H
3
4#include "../igl_inline.h"
5#include <Eigen/Core>
6
7namespace igl {
8 namespace cycodebase {
18 template <
19 typename DerivedC,
20 typename DerivedB>
22 const Eigen::MatrixBase<DerivedC>& C,
23 Eigen::PlainObjectBase<DerivedB>& B1,
24 Eigen::PlainObjectBase<DerivedB>& B2);
31 template <
32 typename DerivedP,
33 typename DerivedC,
34 typename DerivedB>
36 const Eigen::MatrixBase<DerivedP>& P,
37 const Eigen::MatrixBase<DerivedC>& C,
38 Eigen::PlainObjectBase<DerivedB>& B1,
39 Eigen::PlainObjectBase<DerivedB>& B2);
40 }
41}
42
43#ifndef IGL_STATIC_LIBRARY
44 #include "box_cubic.cpp"
45#endif
46#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition box_cubic.h:8
void box_cubic(const Eigen::MatrixBase< DerivedC > &C, Eigen::PlainObjectBase< DerivedB > &B1, Eigen::PlainObjectBase< DerivedB > &B2)
Compute the min/max box corners tightly containing a given cubic bezier curve.
Definition AABB.h:18