codac 2.0.0
Loading...
Searching...
No Matches
codac2_SepTest.h
Go to the documentation of this file.
1
9
10#pragma once
11
12#include <type_traits>
13#include "codac2_Sep.h"
14#include "codac2_Collection.h"
16
17namespace codac2
18{
23 class SepTest : public Sep<SepTest>
24 {
25 public:
26
32 template<typename S>
33 requires IsSepBaseOrPtr<S>
34 SepTest(const S& s)
35 : Sep<SepTest>(size_of(s)), _sep(s)
36 { }
37
45 BoxPair separate(const IntervalVector& x) const;
46
47 protected:
48
49 const Collection<SepBase> _sep;
50 };
51}
SepTest(const S &s)
Constructor for the separator.
Definition codac2_SepTest.h:34
BoxPair separate(const IntervalVector &x) const
Separates the box. Both the inner and outer are either empty or the box itself.
Definition codac2_OctaSym.h:21
Eigen::Matrix< Interval,-1, 1 > IntervalVector
Alias for a dynamic-size column vector of intervals.
Definition codac2_IntervalVector.h:25