codac
codac::CtcDist Class Reference

Distance constraint between two 2d vectors. More...

#include <codac_CtcDist.h>

Inherits Ctc.

## Public Member Functions

CtcDist ()
Creates the contractor.

void contract (IntervalVector &x)
$\mathcal{C}_{\textrm{dist}}\big([\mathbf{x}]\big)$ More...

void contract (IntervalVector &a, IntervalVector &b, Interval &d)
$\mathcal{C}_{\textrm{dist}}\big([\mathbf{x}]\big)$ More...

void contract (Interval &ax, Interval &ay, Interval &bx, Interval &by, Interval &d)
$\mathcal{C}_{\textrm{dist}}\big([\mathbf{x}]\big)$ More...

## Detailed Description

Distance constraint between two 2d vectors.

## ◆ contract() [1/3]

 void codac::CtcDist::contract ( IntervalVector & x )

$\mathcal{C}_{\textrm{dist}}\big([\mathbf{x}]\big)$

Parameters
 x the 5d box of domains: (x1,x2,b1,b2,d)

## ◆ contract() [2/3]

 void codac::CtcDist::contract ( IntervalVector & a, IntervalVector & b, Interval & d )

$\mathcal{C}_{\textrm{dist}}\big([\mathbf{x}]\big)$

Parameters
 a the 2d box of the first 2d vector b the 2d box of the second 2d vector d the interval distance

## ◆ contract() [3/3]

 void codac::CtcDist::contract ( Interval & ax, Interval & ay, Interval & bx, Interval & by, Interval & d )

$\mathcal{C}_{\textrm{dist}}\big([\mathbf{x}]\big)$

Parameters
 ax the first component of the first 2d vector ay the second component of the first 2d vector bx the first component of the second 2d vector by the second component of the second 2d vector d the interval distance

The documentation for this class was generated from the following file: