FormCtrlShape Class Reference
[Formation control algorithms]

More...

#include <FormCtrlShape.h>

Inheritance diagram for FormCtrlShape:

FormCtrlCubeSh FormCtrlPyramidSh FormCtrlRegularPolySh FormCtrlRettangleSh FormCtrlCubeSoftSh FormCtrlDoublePyrSh FormCtrlTetraSh

List of all members.

Public Member Functions

 FormCtrlShape ()
 FormCtrlShape (const FormCtrlShape &p)
FormCtrlShapeoperator= (const FormCtrlShape &rhs)
Decimal getDistance (unsigned int i, unsigned int j)
Position3D getCentroid ()
Position3D getCentroidRelPos (unsigned int i)
void setScaleFactor (Decimal scale)
Decimal getScaleFactor ()

Protected Member Functions

void _banIdPair (unsigned i, unsigned j)
bool _idPairIsBanned (unsigned i, unsigned j)
void _setSpecificMembers (list< int > members)
void _addPosition (Position3D pos)

Protected Attributes

BasePoss _basePoss
Decimal _scaleFactor


Detailed Description

Author:
Antonio Franchi

Constructor & Destructor Documentation

FormCtrlShape::FormCtrlShape (  )  [inline]

FormCtrlShape::FormCtrlShape ( const FormCtrlShape p  ) 


Member Function Documentation

void FormCtrlShape::_banIdPair ( unsigned  i,
unsigned  j 
) [protected]

bool FormCtrlShape::_idPairIsBanned ( unsigned  i,
unsigned  j 
) [protected]

void FormCtrlShape::_setSpecificMembers ( list< int >  members  )  [protected]

void FormCtrlShape::_addPosition ( Position3D  pos  )  [protected]

FormCtrlShape & FormCtrlShape::operator= ( const FormCtrlShape rhs  ) 

Decimal FormCtrlShape::getDistance ( unsigned int  i,
unsigned int  j 
)

Position3D FormCtrlShape::getCentroid (  ) 

Position3D FormCtrlShape::getCentroidRelPos ( unsigned int  i  ) 

void FormCtrlShape::setScaleFactor ( Decimal  scale  ) 

Decimal FormCtrlShape::getScaleFactor (  ) 


Member Data Documentation

BasePoss FormCtrlShape::_basePoss [protected]


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

Generated on Mon Feb 20 07:01:09 2017 for MIP by  doxygen 1.5.6