codac
Public Member Functions | List of all members
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.

Member Function Documentation

◆ contract() [1/3]

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

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

Parameters
xthe 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
athe 2d box of the first 2d vector
bthe 2d box of the second 2d vector
dthe 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
axthe first component of the first 2d vector
aythe second component of the first 2d vector
bxthe first component of the second 2d vector
bythe second component of the second 2d vector
dthe interval distance

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