codac 2.0.0
Loading...
Searching...
No Matches
codac2_drawwhilepaving.h
Go to the documentation of this file.
1
9
10#pragma once
11
12#include "codac2_Ctc.h"
13#include "codac2_Sep.h"
14#include "codac2_Figure2D.h"
15
16namespace codac2
17{
18 template<typename...>
19 inline constexpr bool always_false = false;
20
24 template<typename T = void>
25 inline void draw_while_paving(const IntervalVector& x0, std::shared_ptr<const CtcBase<IntervalVector>> c, double eps, std::shared_ptr<Figure2D> fig = nullptr)
26 {
27 static_assert(always_false<T>, "\n\n\
28 draw_while_paving(..) is deprecated,\n \
29 please replace by DefaultFigure::pave(..) (or any Figure2D object).\n");
30 }
31
35 template<typename T = void>
36 inline void draw_while_paving(const IntervalVector& x0, const CtcBase<IntervalVector>& c, double eps, std::shared_ptr<Figure2D> fig = nullptr)
37 {
38 static_assert(always_false<T>, "\n\n\
39 draw_while_paving(..) is deprecated,\n \
40 please replace by DefaultFigure::pave(..) (or any Figure2D object).\n");
41 }
42
46 template<typename T = void>
47 inline void draw_while_paving(const IntervalVector& x0, std::shared_ptr<const SepBase> s, double eps, std::shared_ptr<Figure2D> fig = nullptr)
48 {
49 static_assert(always_false<T>, "\n\n\
50 draw_while_paving(..) is deprecated,\n \
51 please replace by DefaultFigure::pave(..) (or any Figure2D object).\n");
52 }
53
57 template<typename T = void>
58 inline void draw_while_paving(const IntervalVector& x0, const SepBase& s, double eps, std::shared_ptr<Figure2D> fig = nullptr)
59 {
60
61 static_assert(always_false<T>, "\n\n\
62 draw_while_paving(..) is deprecated,\n \
63 please replace by DefaultFigure::pave(..) (or any Figure2D object).\n");
64 }
65}
Definition codac2_OctaSym.h:21
void draw_while_paving(const IntervalVector &x0, std::shared_ptr< const CtcBase< IntervalVector > > c, double eps, std::shared_ptr< Figure2D > fig=nullptr)
Deprecated!
Definition codac2_drawwhilepaving.h:25
Eigen::Matrix< Interval,-1, 1 > IntervalVector
Alias for a dynamic-size column vector of intervals.
Definition codac2_IntervalVector.h:25