codac
codac_SepPolarXY.h
1 //============================================================================
2 // P Y I B E X
3 // File : Polar separator with projection on the XY-plan
4 // Author : Benoit Desrochers
5 // Copyright : Benoit Desrochers
6 // License : See the LICENSE file
7 // Created : Apr 25, 2012
8 // Last Update : Jun 29, 2017
9 //============================================================================
10 
11 #ifndef __IBEX_SEP_POLARXY_H__
12 #define __IBEX_SEP_POLARXY_H__
13 #include "ibex_Sep.h"
14 #include "codac_CtcPolar.h"
15 
16 using namespace std;
17 
18 using ibex::Interval;
19 using ibex::IntervalVector;
20 
21 
22 namespace codac {
23 
31 class SepPolarXY : public ibex::Sep {
32 
33 public:
40  SepPolarXY(Interval rho, Interval theta);
41 
48  virtual void separate(IntervalVector& x_in, IntervalVector& x_out);
49 
50 protected:
51 
57  void contractIn(IntervalVector &x_in);
58 
64  void contractOut(IntervalVector &x_out);
65 
66 
67 
68  Interval rho, theta;
69  // Interval rho_m, rho_p;
70  // Interval theta_m, theta_p;
71  // Interval cmpl;
72  codac::CtcPolar ctc;
73 };
74 
75 } // end namespace pyibex
76 
77 #endif // __IBEX_SEP_POLARXY_H__
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition: codac_capd_helpers.h:9
Definition: codac_Hashcode.h:52
Separator for point in sector. A sector is defined by its center, a distance and an angle (with uncer...
Definition: codac_SepPolarXY.h:31
Minimal contractor for the polar constraint: x = rho*cos(theta) y = rho*sin(theta) theta = angle(x...
Definition: codac_CtcPolar.h:32