codac 1.5.6
Loading...
Searching...
No Matches
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
16using namespace std;
17
18using ibex::Interval;
19using ibex::IntervalVector;
20
21
22namespace codac {
23
31class SepPolarXY : public ibex::Sep {
32
33public:
40 SepPolarXY(Interval rho, Interval theta);
41
48 virtual void separate(IntervalVector& x_in, IntervalVector& x_out);
49
50protected:
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;
73};
74
75} // end namespace pyibex
76
77#endif // __IBEX_SEP_POLARXY_H__
Minimal contractor for the polar constraint: x = rho*cos(theta) y = rho*sin(theta) theta = angle(x,...
Definition codac_CtcPolar.h:33
Separator for point in sector. A sector is defined by its center, a distance and an angle (with uncer...
Definition codac_SepPolarXY.h:31
void contractOut(IntervalVector &x_out)
compute the outer contraction
void contractIn(IntervalVector &x_in)
compute the inner contraction
virtual void separate(IntervalVector &x_in, IntervalVector &x_out)
SepPolarXY(Interval rho, Interval theta)
Construct a new SepPolarXY object.
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition codac_capd_helpers.h:9