#include <ProbMultiRegCam3DStr.h>

Public Member Functions | |
| Triangle () | |
| Default constructor. | |
| Triangle (Position3D xy1, int id1, Position3D xy2, int id2, Position3D xy3, int id3) | |
| Complete constructor. | |
| ~Triangle () | |
| Default destructor. | |
| vector< PosId3D > | getVertex () |
| Returns all the geometrical informations about the triangle. | |
| PosId3D * | getFirstVertex () |
| Returns the first vertex. | |
| PosId3D * | getSecondVertex () |
| Returns the second vertex. | |
| PosId3D * | getThirdVertex () |
| Returns the third vertex. | |
| PosId3D * | getVertexByPos (int pos) |
| Returns the vertex in position pos. | |
| PosId3D * | getVertexByID (int id) |
| void | setMyIdVertex (int myId, Decimal &aSide, Decimal &bSide, Decimal &cSide) |
| set myId as first vertex of the triangle | |
| bool | isAVertex (Position3D pos, Decimal thr) |
| Check if the position given in input is already a vertex of the triangle. | |
| void | getIds (vector< int > &ris) |
| Return the ids in the given triangle. | |
| vector< int > | getIds () |
| Return the ids in the given triangle. | |
| InterPoints * | getInter3 () |
| Return the actual set of intersection by three. | |
| InterPoints * | setInter3 () |
| Return the intersection by three vector in edit mode. | |
| Position3D | getInter3At (int i) |
| Return the Position in i-th position. | |
| int | getInter3Size () |
| Return the size of the intersection by three vector. | |
| InterPoints * | getInter2 () |
| Return the actual set of intersection by two. | |
| int | getInter2Size () |
| Return the size of the intersection by three vector. | |
| void | deleteDupPoint2 (int pos) |
| Delete an item in the interPoint2 structure (at position pos). | |
| void | deleteDupPoint3 (int pos) |
| Delete an item in the interPoint2 structure (at position pos). | |
| void | insertPoints3 (vector< Position3D > iPoints) |
| Insert some new three intersection points into the actual triangle. | |
| void | insertPoint3 (Position3D iPoint) |
| Insert some new three intersection point into the actual triangle. | |
| void | insertPoints2 (vector< Position3D > iPoints) |
| Insert some new two intersection points into the actual triangle. | |
| void | insertPoint2 (Position3D iPoint) |
| Insert a new two intersection point into the actual triangle. | |
| bool | checkId (int myId) |
| Checks if there is myId in the triagle's ids. | |
| bool | sameIds (Triangle *tria) |
| Checks if two triangles has the same ids as verteces(the given tria and the actual one). | |
| bool | setOri (bearStr oriTwo, bearStr oriThree, bearStr oriTwoF, bearStr oriTwoS, bearStr oriThreeF, bearStr oriThreeS, Decimal projToll) |
| Set the respective orientation of the robot in the actual triangles. | |
| bool | setOriOpt (bearStr oriTwo, bearStr oriThree, bearStr oriTwoF, bearStr oriTwoS, bearStr oriThreeF, bearStr oriThreeS, Decimal projToll, Decimal angToll) |
| Set the respective observations. | |
| bool | setOriSing (bearStr oriTwo, bearStr oriThree, bearStr oriTwoF, bearStr oriTwoS, bearStr oriThreeF, bearStr oriThreeS, Decimal projToll, Decimal angToll) |
| Set the respective observations in singular case. | |
| bearStr | getOriTwo () |
| Get the orientation of the second robot in the triangle. | |
| bearStr | getOriThree () |
| Get the orientation of the third robot in the triangle. | |
| bearStr | getOriTwoThree () |
| Get the orientation of the third robot respect to the second one. | |
| bearStr | getOriTwoOne () |
| Get the orientation of the first robot (base of the triangle) respect to the second one. | |
| bearStr | getOriThreeOne () |
| Get the orientation of the first robot (base) respect to the third one. | |
| bearStr | getOriThreeTwo () |
| Get the orientation of the second robot respect to the third one. | |
| Angle | getOriByPos (int pos) |
| Return the orientation of the robot with triangle index pos. | |
| string | print () |
| Print the triangle's parameters. | |
| Triangle & | operator= (Triangle &A) |
| Operator assignment =. | |
| bool | operator== (Triangle &A) const |
| Operator ==. | |
| string | getObjectName () const |
| Return the name of the object. | |
Each triangle is composed by: three verteces, double and triple intersections and the observation that builds the triangle
| kybalg::Triangle::Triangle | ( | ) |
Default constructor.
| kybalg::Triangle::Triangle | ( | Position3D | xy1, | |
| int | id1, | |||
| Position3D | xy2, | |||
| int | id2, | |||
| Position3D | xy3, | |||
| int | id3 | |||
| ) |
Complete constructor.
| kybalg::Triangle::~Triangle | ( | ) |
Default destructor.
| vector< PosId3D > kybalg::Triangle::getVertex | ( | ) |
Returns all the geometrical informations about the triangle.
| PosId3D * kybalg::Triangle::getFirstVertex | ( | ) |
Returns the first vertex.
| PosId3D * kybalg::Triangle::getSecondVertex | ( | ) |
Returns the second vertex.
| PosId3D * kybalg::Triangle::getThirdVertex | ( | ) |
Returns the third vertex.
| PosId3D * kybalg::Triangle::getVertexByPos | ( | int | pos | ) |
Returns the vertex in position pos.
| PosId3D * kybalg::Triangle::getVertexByID | ( | int | id | ) |
| void kybalg::Triangle::setMyIdVertex | ( | int | myId, | |
| Decimal & | aSide, | |||
| Decimal & | bSide, | |||
| Decimal & | cSide | |||
| ) |
set myId as first vertex of the triangle
| bool kybalg::Triangle::isAVertex | ( | Position3D | pos, | |
| Decimal | thr | |||
| ) |
Check if the position given in input is already a vertex of the triangle.
| void kybalg::Triangle::getIds | ( | vector< int > & | ris | ) |
Return the ids in the given triangle.
| vector< int > kybalg::Triangle::getIds | ( | ) |
Return the ids in the given triangle.
| InterPoints * kybalg::Triangle::getInter3 | ( | ) |
Return the actual set of intersection by three.
| InterPoints * kybalg::Triangle::setInter3 | ( | ) |
Return the intersection by three vector in edit mode.
| Position3D kybalg::Triangle::getInter3At | ( | int | i | ) |
Return the Position in i-th position.
| int kybalg::Triangle::getInter3Size | ( | ) |
Return the size of the intersection by three vector.
| InterPoints * kybalg::Triangle::getInter2 | ( | ) |
Return the actual set of intersection by two.
| int kybalg::Triangle::getInter2Size | ( | ) |
Return the size of the intersection by three vector.
| void kybalg::Triangle::deleteDupPoint2 | ( | int | pos | ) |
Delete an item in the interPoint2 structure (at position pos).
| void kybalg::Triangle::deleteDupPoint3 | ( | int | pos | ) |
Delete an item in the interPoint2 structure (at position pos).
| void kybalg::Triangle::insertPoints3 | ( | vector< Position3D > | iPoints | ) |
Insert some new three intersection points into the actual triangle.
| void kybalg::Triangle::insertPoint3 | ( | Position3D | iPoint | ) |
Insert some new three intersection point into the actual triangle.
| void kybalg::Triangle::insertPoints2 | ( | vector< Position3D > | iPoints | ) |
Insert some new two intersection points into the actual triangle.
| void kybalg::Triangle::insertPoint2 | ( | Position3D | iPoint | ) |
Insert a new two intersection point into the actual triangle.
| bool kybalg::Triangle::checkId | ( | int | myId | ) |
Checks if there is myId in the triagle's ids.
| bool kybalg::Triangle::sameIds | ( | Triangle * | tria | ) |
Checks if two triangles has the same ids as verteces(the given tria and the actual one).
| bool kybalg::Triangle::setOri | ( | bearStr | oriTwo, | |
| bearStr | oriThree, | |||
| bearStr | oriTwoF, | |||
| bearStr | oriTwoS, | |||
| bearStr | oriThreeF, | |||
| bearStr | oriThreeS, | |||
| Decimal | projToll | |||
| ) |
Set the respective orientation of the robot in the actual triangles.
| bool kybalg::Triangle::setOriOpt | ( | bearStr | oriTwo, | |
| bearStr | oriThree, | |||
| bearStr | oriTwoF, | |||
| bearStr | oriTwoS, | |||
| bearStr | oriThreeF, | |||
| bearStr | oriThreeS, | |||
| Decimal | projToll, | |||
| Decimal | angToll | |||
| ) |
Set the respective observations.
| bool kybalg::Triangle::setOriSing | ( | bearStr | oriTwo, | |
| bearStr | oriThree, | |||
| bearStr | oriTwoF, | |||
| bearStr | oriTwoS, | |||
| bearStr | oriThreeF, | |||
| bearStr | oriThreeS, | |||
| Decimal | projToll, | |||
| Decimal | angToll | |||
| ) |
Set the respective observations in singular case.
| bearStr kybalg::Triangle::getOriTwo | ( | ) |
Get the orientation of the second robot in the triangle.
| bearStr kybalg::Triangle::getOriThree | ( | ) |
Get the orientation of the third robot in the triangle.
| bearStr kybalg::Triangle::getOriTwoThree | ( | ) |
Get the orientation of the third robot respect to the second one.
| bearStr kybalg::Triangle::getOriTwoOne | ( | ) |
Get the orientation of the first robot (base of the triangle) respect to the second one.
| bearStr kybalg::Triangle::getOriThreeOne | ( | ) |
Get the orientation of the first robot (base) respect to the third one.
| bearStr kybalg::Triangle::getOriThreeTwo | ( | ) |
Get the orientation of the second robot respect to the third one.
| Angle kybalg::Triangle::getOriByPos | ( | int | pos | ) |
Return the orientation of the robot with triangle index pos.
| string kybalg::Triangle::print | ( | ) |
Print the triangle's parameters.
| bool kybalg::Triangle::operator== | ( | Triangle & | A | ) | const |
Operator ==.
| string kybalg::Triangle::getObjectName | ( | ) | const [inline, virtual] |
1.5.6