Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Vector2< V > Class Template Reference

This class represents a 2-vector. More...

#include <Vector2.h>

Inheritance diagram for Vector2< V >:

Inheritance graph
[legend]
Collaboration diagram for Vector2< V >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void serialize (In *in, Out *out)
 Vector2 ()
 Default constructor.

 Vector2 (V x, V y)
 Default constructor.

Vector2< V > & operator= (const Vector2< V > &other)
 Assignment operator.

 Vector2 (const Vector2< V > &other)
 Copy constructor.

Vector2< V > & operator+= (const Vector2< V > &other)
 Addition of another vector to this one.

Vector2< V > & operator-= (const Vector2< V > &other)
 Substraction of this vector from another one.

Vector2< V > & operator *= (const V &factor)
 Multiplication of this vector by a factor.

Vector2< V > & operator/= (const V &factor)
 Division of this vector by a factor.

Vector2< V > operator+ (const Vector2< V > &other) const
 Addition of another vector to this one.

Vector2< V > operator- (const Vector2< V > &other) const
 Subtraction of another vector to this one.

Vector2< V > operator- () const
 Negation of this vector.

operator * (const Vector2< V > &other) const
 Inner product of this vector and another one.

Vector2< V > operator * (const V &factor) const
 Multiplication of this vector by a factor.

Vector2< V > operator/ (const V &factor) const
 Division of this vector by a factor.

bool operator== (const Vector2< V > &other) const
 Comparison of another vector with this one.

bool operator!= (const Vector2< V > &other) const
 Comparison of another vector with this one.

abs () const
 Calculation of the length of this vector.

Vector2< V > normalize (V len)
 normalize this vector.

Vector2< V > normalize ()
 normalize this vector.

Vector2< V > transpose ()
 transpose this vector.

Vector2< V > rotateLeft ()
 the vector is rotated left by 90 degrees.

Vector2< V > rotateRight ()
 the vector is rotated right by 90 degrees.

V & operator[] (int i)
 array-like member access.

double angle () const
 Calculation of the angle of this vector.


Public Attributes

x
 The vector values.

y
 The vector values.


Detailed Description

template<class V>
class Vector2< V >

This class represents a 2-vector.

Definition at line 17 of file Vector2.h.


Constructor & Destructor Documentation

template<class V>
Vector2< V >::Vector2  )  [inline]
 

Default constructor.

template<class V>
Vector2< V >::Vector2 x,
y
[inline]
 

Default constructor.

template<class V>
Vector2< V >::Vector2 const Vector2< V > &  other  )  [inline]
 

Copy constructor.

Parameters:
other The other vector that is copied to this one


Member Function Documentation

template<class V>
virtual void Vector2< V >::serialize In in,
Out out
[inline, virtual]
 

Implements Streamable.

Reimplemented in LinesPercept::LinePoint.

Definition at line 19 of file Vector2.h.

template<class V>
Vector2<V>& Vector2< V >::operator= const Vector2< V > &  other  )  [inline]
 

Assignment operator.

Parameters:
other The other vector that is assigned to this one
Returns:
A reference to this object after the assignment.

Reimplemented in GT2005BallSpecialist::BallPoint, and VLCBallSpecialist::BallPoint.

Definition at line 42 of file Vector2.h.

template<class V>
Vector2<V>& Vector2< V >::operator+= const Vector2< V > &  other  )  [inline]
 

Addition of another vector to this one.

Parameters:
other The other vector that will be added to this one
Returns:
A reference to this object after the calculation.

Definition at line 57 of file Vector2.h.

template<class V>
Vector2<V>& Vector2< V >::operator-= const Vector2< V > &  other  )  [inline]
 

Substraction of this vector from another one.

Parameters:
other The other vector this one will be substracted from
Returns:
A reference to this object after the calculation.

Definition at line 68 of file Vector2.h.

template<class V>
Vector2<V>& Vector2< V >::operator *= const V &  factor  )  [inline]
 

Multiplication of this vector by a factor.

Parameters:
factor The factor this vector is multiplied by
Returns:
A reference to this object after the calculation.

Definition at line 79 of file Vector2.h.

template<class V>
Vector2<V>& Vector2< V >::operator/= const V &  factor  )  [inline]
 

Division of this vector by a factor.

Parameters:
factor The factor this vector is divided by
Returns:
A reference to this object after the calculation.

Definition at line 90 of file Vector2.h.

template<class V>
Vector2<V> Vector2< V >::operator+ const Vector2< V > &  other  )  const [inline]
 

Addition of another vector to this one.

Parameters:
other The other vector that will be added to this one
Returns:
A new object that contains the result of the calculation.

Definition at line 102 of file Vector2.h.

template<class V>
Vector2<V> Vector2< V >::operator- const Vector2< V > &  other  )  const [inline]
 

Subtraction of another vector to this one.

Parameters:
other The other vector that will be added to this one
Returns:
A new object that contains the result of the calculation.

Definition at line 109 of file Vector2.h.

template<class V>
Vector2<V> Vector2< V >::operator-  )  const [inline]
 

Negation of this vector.

Returns:
A new object that contains the result of the calculation.

Definition at line 115 of file Vector2.h.

template<class V>
V Vector2< V >::operator * const Vector2< V > &  other  )  const [inline]
 

Inner product of this vector and another one.

Parameters:
other The other vector this one will be multiplied by
Returns:
The inner product.

Definition at line 122 of file Vector2.h.

template<class V>
Vector2<V> Vector2< V >::operator * const V &  factor  )  const [inline]
 

Multiplication of this vector by a factor.

Parameters:
factor The factor this vector is multiplied by
Returns:
A new object that contains the result of the calculation.

Definition at line 131 of file Vector2.h.

template<class V>
Vector2<V> Vector2< V >::operator/ const V &  factor  )  const [inline]
 

Division of this vector by a factor.

Parameters:
factor The factor this vector is divided by
Returns:
A new object that contains the result of the calculation.

Definition at line 139 of file Vector2.h.

template<class V>
bool Vector2< V >::operator== const Vector2< V > &  other  )  const [inline]
 

Comparison of another vector with this one.

Parameters:
other The other vector that will be compared to this one
Returns:
Whether the two vectors are equal.

Definition at line 146 of file Vector2.h.

template<class V>
bool Vector2< V >::operator!= const Vector2< V > &  other  )  const [inline]
 

Comparison of another vector with this one.

Parameters:
other The other vector that will be compared to this one.
Returns:
Whether the two vectors are unequal.

Definition at line 155 of file Vector2.h.

template<class V>
V Vector2< V >::abs  )  const [inline]
 

Calculation of the length of this vector.

Returns:
The length.

Definition at line 161 of file Vector2.h.

Referenced by SlamEdgeSpecialist::addCandidate(), GT2005EdgeSpecialist::addCandidate(), VLCLineFinder_DeterministicApproach::addCrossingsPercept(), SlamBorderFinder::addCrossingsPercept(), GT2005LineFinder_DeterministicApproach::addCrossingsPercept(), BallPercept::addHighRes(), VLCRobotSpecialist::addPercept(), GT2005RobotSpecialist::addPercept(), VLCImageProcessor::calcEdgeAngle(), SlamImageProcessor::calcEdgeAngle(), GT2005ImageProcessor::calcEdgeAngle(), Geometry::calculateBallInImage(), GT2005HeadControl::calculateClosestLandmark(), SlamBorderFinder::calculateDirectionAwayFromBorder(), Geometry::calculateLineSize(), RobotPose::calculateMovement(), Geometry::calculatePointInImage(), Field::clip(), VLCImageProcessor::clusterRobots(), SlamImageProcessor::clusterRobots(), VLCRobotSpecialist::distanceOnField(), GT2005RobotSpecialist::distanceOnField(), SlamSelfLocator::execute(), GT2005PotentialFieldBasicBehaviorAvoidRobots::execute(), GT2005PotentialFieldBasicBehaviorOffensiveSupport::execute(), GT2005PotentialFieldBasicBehaviorSupport::execute(), VLCLineFinder_DeterministicApproach::findIntersections(), SlamBorderFinder::findIntersections(), GT2005LineFinder_DeterministicApproach::findIntersections(), VLCRobotSpecialist::generatePercept(), GT2005RobotSpecialist::generatePercept(), GT2004SelfLocator::generatePoseTemplates(), SlamSampleTemplateGenerator::generateTemplates(), GT2005StableSampleTemplateGenerator::generateTemplates(), GT2005SampleTemplateGenerator::generateTemplates(), Kinematics::getAbsoluteRobotVertices(), SlamLineCrossingsTable::getClassifiedClosestPoint(), GT2005StableLineCrossingsTable::getClassifiedClosestPoint(), Field::getClosestPoint(), SlamLineCrossingsTable::getClosestPoint(), GT2005StableLineCrossingsTable::getClosestPoint(), BallSymbols::getKnownOrNearSpeedAbs(), GT2005HeadControl::getLookAtBallAngles(), GTCamSymbols::getOwnDistance(), SLBenchmark::GoToNextTarget(), MotionRatingBehaviorControl::gotoPoint(), VLCLineFinder_DeterministicApproach::handleCenterCircle(), GT2005LineFinder_DeterministicApproach::handleCenterCircle(), KickLoggerSymbols::kickLoggerSetAfterStateAndCommit(), Vector2< int >::normalize(), SlamSampleTemplateGenerator::poseFromBearings(), GT2005StableSampleTemplateGenerator::poseFromBearings(), GT2005SampleTemplateGenerator::poseFromBearings(), GT2004SelfLocator::poseFromBearings(), SlamSampleTemplateGenerator::poseFromBearingsAndDistance(), GT2005StableSampleTemplateGenerator::poseFromBearingsAndDistance(), GT2005SampleTemplateGenerator::poseFromBearingsAndDistance(), GT2004SelfLocator::poseFromBearingsAndDistance(), VLCImageProcessor::scan(), SlamImageProcessor::scan(), GT2005ImageProcessor::scan(), VLCBeaconDetector::scanForBeaconEdges(), SlamBeaconDetector::scanForBeaconEdges(), GT2005BeaconDetector::scanForBeaconEdges(), KickSelectionTable::searchKickInNeighbourhood(), GT2005HeadControl::setJoints(), SlamSelfLocator::updateByCenterCircle(), GT2005StableSelfLocator::updateByCenterCircle(), GT2005SelfLocator::updateByCenterCircle(), SlamSelfLocator::updateByCrossing(), GT2005StableSelfLocator::updateByCrossing(), GT2005SelfLocator::updateByCrossing(), SlamSelfLocator::updateByNotSeenGoal(), SlamSelfLocator::updateByPoint(), GT2005StableSelfLocator::updateByPoint(), GT2005SelfLocator::updateByPoint(), GT2004SelfLocator::updateByPoint(), and GT2005LineCrossingsTable::updateClosestPoint().

template<class V>
Vector2<V> Vector2< V >::normalize len  )  [inline]
 

normalize this vector.

Parameters:
len The length, the vector should be normalized to, default=1.
Returns:
the normalized vector.

Definition at line 168 of file Vector2.h.

Referenced by SlamEdgeSpecialist::addCandidate(), GT2005EdgeSpecialist::addCandidate(), VLCLineFinder_DeterministicApproach::addCrossingsPercept(), SlamBorderFinder::addCrossingsPercept(), GT2005LineFinder_DeterministicApproach::addCrossingsPercept(), SlamBorderFinder::calculateDirectionAwayFromBorder(), VLCLineFinder_DeterministicApproach::calculateLineOnField(), SlamBorderFinder::calculateLineOnField(), GT2005LineFinder_DeterministicApproach::calculateLineOnField(), GT2005BallLocator::calculatePanningVelocityValue(), VLCImageProcessor::execute(), SlamImageProcessor::execute(), GT2005ImageProcessor::execute(), GT2005BasicBehaviorGoToInterceptionPoint::execute(), GT2005BasicBehaviorGoToBallWithoutTurning::execute(), GT2005BasicBehaviorGoToBallPropagated::execute(), GT2005BasicBehaviorGoToBall::execute(), GT2005BasicBehaviorNewGoToBall::execute(), VLCLineFinder_DeterministicApproach::findLineFragments(), SlamBorderFinder::findLineFragments(), GT2005LineFinder_DeterministicApproach::findLineFragments(), VLCLineFinder_DeterministicApproach::findLines(), SlamBorderFinder::findLines(), GT2005LineFinder_DeterministicApproach::findLines(), VLCGoalRecognizer::scanCrossBar(), GT2005GoalRecognizer::scanCrossBar(), GT2005HeadControl::setJoints(), FieldDimensions::vectorToBorder(), and FieldDimensions::vectorToBorderIncludingGoals().

template<class V>
Vector2<V> Vector2< V >::normalize  )  [inline]
 

normalize this vector.

Returns:
the normalized vector.

Definition at line 177 of file Vector2.h.

template<class V>
Vector2<V> Vector2< V >::transpose  )  [inline]
 

transpose this vector.

Returns:
the transposed vector.

Definition at line 186 of file Vector2.h.

template<class V>
Vector2<V> Vector2< V >::rotateLeft  )  [inline]
 

the vector is rotated left by 90 degrees.

Returns:
the rotated vector.

Definition at line 196 of file Vector2.h.

Referenced by VLCImageProcessor::calcEdgeAngle(), SlamImageProcessor::calcEdgeAngle(), GT2005ImageProcessor::calcEdgeAngle(), VLCLineFinder_DeterministicApproach::findLineFragments(), SlamBorderFinder::findLineFragments(), and GT2005LineFinder_DeterministicApproach::findLineFragments().

template<class V>
Vector2<V> Vector2< V >::rotateRight  )  [inline]
 

the vector is rotated right by 90 degrees.

Returns:
the rotated vector.

Definition at line 206 of file Vector2.h.

Referenced by VLCLineFinder_DeterministicApproach::addCrossingsPercept(), SlamBorderFinder::addCrossingsPercept(), GT2005LineFinder_DeterministicApproach::addCrossingsPercept(), and SlamBorderFinder::calculateDirectionAwayFromBorder().

template<class V>
V& Vector2< V >::operator[] int  i  )  [inline]
 

array-like member access.

Parameters:
i index of coordinate
Returns:
reference to x or y

Definition at line 218 of file Vector2.h.

template<class V>
double Vector2< V >::angle  )  const [inline]
 

Calculation of the angle of this vector.

Definition at line 224 of file Vector2.h.

Referenced by GT2005ObstaclesLocator::addPSDPercept(), VLCImageProcessor::calcEdgeAngle(), SlamImageProcessor::calcEdgeAngle(), GT2005ImageProcessor::calcEdgeAngle(), GT2005HeadControl::calculateClosestLandmark(), ChallengeSpecialVision::executeReset(), Kinematics::getAbsoluteRobotVertices(), Kinematics::getRobotTransformation(), MotionRatingBehaviorControl::gotoPoint(), MotionRatingBehaviorControl::handleMessage(), KickLoggerSymbols::kickLoggerSetAfterStateAndCommit(), VLCImageProcessor::scan(), SlamImageProcessor::scan(), and GT2005ImageProcessor::scan().


Member Data Documentation

template<class V>
V Vector2< V >::x
 

The vector values.

Definition at line 27 of file Vector2.h.

Referenced by Boundary< double >::add(), VLCBallSpecialist::addBallPercept(), GT2005BallSpecialist::addBallPercept(), VLCCenterCircleFinder::addCandidate(), GT2005CenterCircleFinder::addCandidate(), VLCLineFinder_DeterministicApproach::addCrossingsPercept(), SlamBorderFinder::addCrossingsPercept(), GT2005LineFinder_DeterministicApproach::addCrossingsPercept(), LandmarksPercept::addFlag(), SlamFlagLocator::addFlagDirection(), LandmarksPercept::addGoal(), BallPercept::addHighRes(), VLCClustering::addLine(), GT2005Clustering::addLine(), VLCRobotSpecialist::addPercept(), GT2005RobotSpecialist::addPercept(), Field::addPlayer(), GT2005ObstaclesLocator::addPSDPercept(), SlamBeaconDetector::analyzeBeacon(), VLCGoalRecognizer::analyzeGoalpost(), GT2005GoalRecognizer::analyzeGoalpost(), AngleRelativeToHorizontal(), GT2005HeadControl::beginBallSearchAt(), BresenhamLineScan::BresenhamLineScan(), GT2005SelfLocator::calcDistributionValidityByStandardDeviation(), VLCImageProcessor::calcEdgeAngle(), SlamImageProcessor::calcEdgeAngle(), GT2005ImageProcessor::calcEdgeAngle(), SlamFlagLocator::calcFlags(), GT2005TeamBallLocator::calcRepresentativeParticleContainer(), Geometry::calculateBallInImage(), SlamBorderFinder::calculateDirectionAwayFromBorder(), MultipleBallPerceptElement::calculateDistanceValue(), GT2005BallLocator::calculateDistanceValue(), BallSymbols::calculateInterceptionPoint(), VLCLineFinder_DeterministicApproach::calculateLineOnField(), SlamBorderFinder::calculateLineOnField(), GT2005LineFinder_DeterministicApproach::calculateLineOnField(), VLCGoalRecognizer::calculateLockedPixels(), GT2005GoalRecognizer::calculateLockedPixels(), RobotPose::calculateMovement(), Geometry::calculatePointInImage(), Geometry::calculatePointOnField(), SlamGoalRecognizer::calculateVerticalGoalScanLines(), GoalRecognizer::calculateVerticalGoalScanLines(), SlamBeaconDetector::characterizeNewFlag(), GT2005CenterCircleFinder::checkCircleMidpoint(), GT2005PlayerSpecialist::checkForWhiteLineBetweenBlue(), GT2005PlayerSpecialist::checkForWhiteLineBetweenRed(), BallPercept::checkOffset(), Field::clip(), FieldDimensions::clipLineWithField(), FieldDimensions::clipLineWithFieldAndGoalAreas(), Geometry::clipLineWithQuadrangle(), Geometry::clipPointInsideRectange(), VLCBeaconDetector::clusterPinkBeaconParts(), SlamBeaconDetector::clusterPinkBeaconParts(), GT2005BeaconDetector::clusterPinkBeaconParts(), VLCImageProcessor::clusterRobots(), SlamImageProcessor::clusterRobots(), Geometry::cohenSutherlandOutCode(), GT2005TeamBallLocator::CompositeCell::CompositeCell(), LinesTables2005::ObservationTable< xSize, ySize, cellSize, pointRes >::create(), ObservationTable< 320, 240, 25, 25 >::create(), CircleCalculation::createCircle(), CircleCalculation::cutMiddlePerpendiculars(), GT2005PlayerSpecialist::detectBlueRobots(), VLCGoalRecognizer::detectEdge(), GT2005GoalRecognizer::detectEdge(), VLCGoalRecognizer::detectGreenBelowGoalpost(), GT2005GoalRecognizer::detectGreenBelowGoalpost(), GT2005PlayerSpecialist::detectRedRobots(), VLCCenterCircleFinder::determineCirclePoint(), BallState::directionVectorFromFieldToRobot(), BallState::directionVectorFromRobotToField(), VLCRobotSpecialist::distanceOnField(), GT2005RobotSpecialist::distanceOnField(), FieldDimensions::distanceToBorder(), FieldDimensions::distanceToOpponentPenaltyArea(), KickLoggerSymbols::doExecute(), DoubleScanLinesNumber(), VLCLineFinder_DeterministicApproach::doVerificationScan(), SlamBorderFinder::doVerificationScan(), GT2005LineFinder_DeterministicApproach::doVerificationScan(), VLCLineFinder_DeterministicApproach::doVerificationScanForCircle(), GT2005LineFinder_DeterministicApproach::doVerificationScanForCircle(), Field::draw(), SlamSelfLocator::draw(), LinesTables2005::ObservationTable< xSize, ySize, cellSize, pointRes >::draw(), ObservationTable< 320, 240, 25, 25 >::draw(), GT2005StableSelfLocator::draw(), GT2005SampleTemplateGenerator::draw(), GT2004SelfLocator::draw(), GT2005BallLocator::draw(), GT2005BallLocator::drawParticle(), edge::edge(), GTCamPlayersLocator::execute(), GTCamObstaclesLocator::execute(), VLCLineFinder_DeterministicApproach::execute(), VLCImageProcessor::execute(), VLCBeaconDetector::execute(), SlamImageProcessor::execute(), SlamBeaconDetector::execute(), GT2005LineFinder_DeterministicApproach::execute(), GT2005ImageProcessor::execute(), GT2005BeaconDetector::execute(), SLBenchmark::execute(), GT2005WalkCalibrationMainBehavior::execute(), GT2005BasicBehaviorGoToInterceptionPoint::execute(), GT2005BasicBehaviorGoToRelativePoint::execute(), GT2005BasicBehaviorTurnAroundPointWithRadius::execute(), GT2005BasicBehaviorTurnAroundPointFast::execute(), GT2005BasicBehaviorTurnAroundPoint::execute(), GT2005BasicBehaviorGoaliePosition::execute(), GT2005BasicBehaviorGoToBallWithoutTurning::execute(), GT2005BasicBehaviorGoToBallPropagated::execute(), GT2005BasicBehaviorGoToBall::execute(), GT2005BasicBehaviorNewGoToBall::execute(), GTCamBallLocator::execute(), GT2005BallLocator::execute(), ChallengeSpecialVision::executeReset(), Geometry::fieldCoord2Relative(), GT2005PlayerSpecialist::findBlueFootPointYAxis(), VLCFlagSpecialist::findEndOfFlag(), SlamFlagSpecialist::findEndOfFlag(), GT2005FlagSpecialist::findEndOfFlag(), VLCLineFinder_DeterministicApproach::findIntersections(), SlamBorderFinder::findIntersections(), GT2005LineFinder_DeterministicApproach::findIntersections(), VLCLineFinder_DeterministicApproach::findLineFragments(), SlamBorderFinder::findLineFragments(), GT2005LineFinder_DeterministicApproach::findLineFragments(), VLCLineFinder_DeterministicApproach::findLines(), SlamBorderFinder::findLines(), GT2005LineFinder_DeterministicApproach::findLines(), VLCRobotSpecialist::findNearestFootPoint(), GT2005RobotSpecialist::findNearestFootPoint(), GT2005PlayerSpecialist::findRedFootPointYAxis(), SlamBeaconDetector::findSpecial(), MSH2004EdgeDetection::findStart(), GT2004EdgeDetection::findStart(), VLCRobotSpecialist::generateBoundings(), GT2005RobotSpecialist::generateBoundings(), VLCRobotSpecialist::generateColorspace(), GT2005RobotSpecialist::generateColorspace(), VLCRobotSpecialist::generatePercept(), GT2005RobotSpecialist::generatePercept(), GT2004SelfLocator::generatePoseTemplates(), SlamSampleTemplateGenerator::generateTemplates(), GT2005StableSampleTemplateGenerator::generateTemplates(), GT2005SampleTemplateGenerator::generateTemplates(), GTCamSymbols::getBall(), Field::getClosestPoint(), extLinePair2::getDirection(), Field::getDistance(), Field::getDistanceToOwnPenaltyArea(), SlamEdgeSpecialist::getEdgesPercept(), GT2005EdgeSpecialist::getEdgesPercept(), VLCFlagSpecialist::getFlagPercept(), SlamFlagSpecialist::getFlagPercept(), GT2005FlagSpecialist::getFlagPercept(), Geometry::getIntersectionOfLines(), Geometry::getIntersectionPointsOfLineAndRectangle(), VLCLineFinder_DeterministicApproach::getLine(), SlamBorderFinder::getLine(), lineOnField::getLine(), GT2005LineFinder_DeterministicApproach::getLine(), GT2005HeadControl::getLookAtBallAngles(), GTCamSymbols::getOwnDistance(), GTCamWorldState::getPlayerPos(), GTCamWorldState::getPlayerSpeed(), KickLoggerSymbols::getPropagatedRelativeX(), GameRules::getThrowInPointNumber(), SLBenchmark::GoToNextTarget(), MotionRatingBehaviorControl::gotoPoint(), OpenChallengeSymbols::guideDogMoveForward(), OpenChallengeSymbols::guideDogTellsBlindDogTurn(), VLCLineFinder_DeterministicApproach::handleCenterCircle(), GT2005LineFinder_DeterministicApproach::handleCenterCircle(), ImageInfo::horizonAlignedXOf(), ImageInfo::horizonAlignedYOf(), horLinePair2::horLinePair2(), GT2005PlayerSpecialist::inspectColorArea(), CLogAnalyzerBase::interpolate(), VLCGoalRecognizer::interpretResults(), Boundary< double >::isInside(), FieldDimensions::isInsideField(), FieldDimensions::isInsideGoal(), FieldDimensions::isInsideOpponentGoal(), FieldDimensions::isInsideOwnGoal(), KickLoggerSymbols::isNear(), GT2005BallLocator::isNonSensePos(), FieldDimensions::isOnOpponentGoalGroundline(), FieldDimensions::isOnOwnGoalGroundline(), Geometry::Line::Line(), LinesPercept::LinePoint::LinePoint(), GT2005WalkCalibrationMainBehavior::Measure(), GT2005BallLocator::measurementUpdate(), mil(), GT2005WalkCalibrationMainBehavior::minDistanceToBorder(), VLCRobotSpecialist::noColorPixelsBetween(), GT2005RobotSpecialist::noColorPixelsBetween(), GT2005BallLocator::noNonsenseParticles(), Vector2< int >::operator *(), Matrix2x2< double >::operator *(), Vector2< int >::operator+=(), Vector2< int >::operator-=(), Vector2< int >::operator=(), LinesPercept::LinePoint::operator=(), VLCBallSpecialist::BallPoint::operator=(), GT2005BallSpecialist::BallPoint::operator=(), Vector2< int >::operator==(), VLCImageProcessor::plot(), SlamImageProcessor::plot(), GT2005ImageProcessor::plot(), SlamSampleTemplateGenerator::poseFromBearings(), GT2005StableSampleTemplateGenerator::poseFromBearings(), GT2005SampleTemplateGenerator::poseFromBearings(), GT2004SelfLocator::poseFromBearings(), SlamSampleTemplateGenerator::poseFromBearingsAndDistance(), GT2005StableSampleTemplateGenerator::poseFromBearingsAndDistance(), GT2005SampleTemplateGenerator::poseFromBearingsAndDistance(), GT2004SelfLocator::poseFromBearingsAndDistance(), BallState::positionVectorFromFieldToRobot(), BallState::positionVectorFromRobotToField(), GT2005GoalRecognizer::publishResults(), TeamMessage::read(), VLCGoalRecognizer::recalculateLockedPixels(), GT2005GoalRecognizer::recalculateLockedPixels(), Geometry::relative2FieldCoord(), VLCRobotSpecialist::scan(), VLCImageProcessor::scan(), SlamImageProcessor::scan(), GT2005RobotSpecialist::scan(), GT2005ImageProcessor::scan(), GT2005CenterCircleFinder::scan(), VLCGoalRecognizer::scanAlongLine(), GT2005GoalRecognizer::scanAlongLine(), VLCImageProcessor::scanColumns(), SlamImageProcessor::scanColumns(), GT2005ImageProcessor::scanColumns(), VLCGoalRecognizer::scanCrossBar(), GT2005GoalRecognizer::scanCrossBar(), VLCBallSpecialist::scanForBallPoints(), GT2005BallSpecialist::scanForBallPoints(), VLCBeaconDetector::scanForBeaconEdges(), SlamBeaconDetector::scanForBeaconEdges(), GT2005BeaconDetector::scanForBeaconEdges(), VLCBeaconDetector::scanForBeaconPart(), SlamBeaconDetector::scanForBeaconPart(), GT2005BeaconDetector::scanForBeaconPart(), SlamBeaconDetector::scanForFlagCharacterization(), VLCBeaconDetector::scanForPink(), SlamBeaconDetector::scanForPink(), GT2005BeaconDetector::scanForPink(), SlamGoalRecognizer::scanHorizontalForGoals(), GoalRecognizer::scanHorizontalForGoals(), SlamGoalRecognizer::scanLinesForGoals(), GoalRecognizer::scanLinesForGoals(), VLCGoalRecognizer::scanOnImageBorder(), GT2005GoalRecognizer::scanOnImageBorder(), GuideDogRobotSpecialist::scanParallelToHorizon(), VLCImageProcessor::scanRows(), SlamImageProcessor::scanRows(), GT2005ImageProcessor::scanRows(), GT2005CenterCircleFinder::scanSurrounding(), VLCFlagSpecialist::searchFlags(), SlamFlagSpecialist::searchFlags(), GT2005FlagSpecialist::searchFlags(), KickSelectionTable::searchKickInNeighbourhood(), CircleCalculation::select3Points(), GT2005BallLocator::setBallSymbols(), MSH2004EdgeDetection::setDirection(), GT2004EdgeDetection::setDirection(), GTCamWorldState::setPlayerPos(), GTCamWorldState::setPlayerSpeed(), BresenhamLineScan::setup(), GT2005HeadControl::simpleLookAtPointRelativeToRobot(), horLinePair2::size(), theta2(), ImageInfo::toHorizonAligned(), ImageInfo::toImageCoordinates(), SlamSelfLocator::updateByCenterCircle(), GT2005StableSelfLocator::updateByCenterCircle(), GT2005SelfLocator::updateByCenterCircle(), SlamSelfLocator::updateByCrossing(), GT2005StableSelfLocator::updateByCrossing(), GT2005SelfLocator::updateByCrossing(), SlamSelfLocator::updateByFlag(), GT2005StableSelfLocator::updateByFlag(), GT2005SelfLocator::updateByFlag(), GT2004SelfLocator::updateByFlag(), SlamSelfLocator::updateByGoalPost(), GT2005StableSelfLocator::updateByGoalPost(), GT2005SelfLocator::updateByGoalPost(), GT2004SelfLocator::updateByGoalPost(), SlamSelfLocator::updateByNotSeenGoal(), SlamSelfLocator::updateByPoint(), GT2005StableSelfLocator::updateByPoint(), GT2005SelfLocator::updateByPoint(), GT2004SelfLocator::updateByPoint(), FieldDimensions::vectorToBorder(), FieldDimensions::vectorToBorderIncludingGoals(), and TeamMessage::write().

template<class V>
V Vector2< V >::y
 

The vector values.

Definition at line 27 of file Vector2.h.

Referenced by Boundary< double >::add(), VLCBallSpecialist::addBallPercept(), GT2005BallSpecialist::addBallPercept(), VLCCenterCircleFinder::addCandidate(), GT2005CenterCircleFinder::addCandidate(), VLCLineFinder_DeterministicApproach::addCrossingsPercept(), SlamBorderFinder::addCrossingsPercept(), GT2005LineFinder_DeterministicApproach::addCrossingsPercept(), LandmarksPercept::addFlag(), SlamFlagLocator::addFlagDirection(), LandmarksPercept::addGoal(), BallPercept::addHighRes(), VLCClustering::addLine(), GT2005Clustering::addLine(), VLCRobotSpecialist::addPercept(), GT2005RobotSpecialist::addPercept(), Field::addPlayer(), GT2005ObstaclesLocator::addPSDPercept(), SlamBeaconDetector::analyzeBeacon(), VLCGoalRecognizer::analyzeGoalpost(), GT2005GoalRecognizer::analyzeGoalpost(), GT2005HeadControl::beginBallSearchAt(), BresenhamLineScan::BresenhamLineScan(), GT2005SelfLocator::calcDistributionValidityByStandardDeviation(), VLCImageProcessor::calcEdgeAngle(), SlamImageProcessor::calcEdgeAngle(), GT2005ImageProcessor::calcEdgeAngle(), SlamFlagLocator::calcFlags(), GT2005TeamBallLocator::calcRepresentativeParticleContainer(), Geometry::calculateBallInImage(), SlamBorderFinder::calculateDirectionAwayFromBorder(), MultipleBallPerceptElement::calculateDistanceValue(), GT2005BallLocator::calculateDistanceValue(), BallSymbols::calculateInterceptionPoint(), VLCLineFinder_DeterministicApproach::calculateLineOnField(), SlamBorderFinder::calculateLineOnField(), GT2005LineFinder_DeterministicApproach::calculateLineOnField(), VLCGoalRecognizer::calculateLockedPixels(), GT2005GoalRecognizer::calculateLockedPixels(), RobotPose::calculateMovement(), Geometry::calculatePointInImage(), Geometry::calculatePointOnField(), VLCBallSpecialist::calculateReliability(), GT2005BallSpecialist::calculateReliability(), SlamGoalRecognizer::calculateVerticalGoalScanLines(), GoalRecognizer::calculateVerticalGoalScanLines(), GT2005CenterCircleFinder::checkCircleMidpoint(), GT2005PlayerSpecialist::checkForWhiteLineBetweenBlue(), GT2005PlayerSpecialist::checkForWhiteLineBetweenRed(), BallPercept::checkOffset(), FieldDimensions::clipLineWithField(), FieldDimensions::clipLineWithFieldAndGoalAreas(), Geometry::clipLineWithQuadrangle(), Geometry::clipLineWithRectangleCohenSutherland(), Geometry::clipPointInsideRectange(), VLCBeaconDetector::clusterPinkBeaconParts(), SlamBeaconDetector::clusterPinkBeaconParts(), GT2005BeaconDetector::clusterPinkBeaconParts(), VLCImageProcessor::clusterRobots(), SlamImageProcessor::clusterRobots(), Geometry::cohenSutherlandOutCode(), GT2005TeamBallLocator::CompositeCell::CompositeCell(), LinesTables2005::ObservationTable< xSize, ySize, cellSize, pointRes >::create(), ObservationTable< 320, 240, 25, 25 >::create(), CircleCalculation::createCircle(), CircleCalculation::cutMiddlePerpendiculars(), GT2005PlayerSpecialist::detectBlueRobots(), VLCGoalRecognizer::detectEdge(), GT2005GoalRecognizer::detectEdge(), VLCGoalRecognizer::detectGreenBelowGoalpost(), GT2005GoalRecognizer::detectGreenBelowGoalpost(), GT2005PlayerSpecialist::detectRedRobots(), VLCCenterCircleFinder::determineCirclePoint(), BallState::directionVectorFromFieldToRobot(), BallState::directionVectorFromRobotToField(), VLCRobotSpecialist::distanceOnField(), GT2005RobotSpecialist::distanceOnField(), FieldDimensions::distanceToBorder(), FieldDimensions::distanceToOpponentPenaltyArea(), KickLoggerSymbols::doExecute(), DoubleScanLinesNumber(), VLCLineFinder_DeterministicApproach::doVerificationScan(), SlamBorderFinder::doVerificationScan(), GT2005LineFinder_DeterministicApproach::doVerificationScan(), VLCLineFinder_DeterministicApproach::doVerificationScanForCircle(), GT2005LineFinder_DeterministicApproach::doVerificationScanForCircle(), Field::draw(), SlamSelfLocator::draw(), GT2005StableSelfLocator::draw(), GT2005SampleTemplateGenerator::draw(), GT2004SelfLocator::draw(), GT2005BallLocator::draw(), GT2005BallLocator::drawParticle(), edge::edge(), GTCamPlayersLocator::execute(), GTCamObstaclesLocator::execute(), VLCLineFinder_DeterministicApproach::execute(), VLCImageProcessor::execute(), VLCBeaconDetector::execute(), SlamImageProcessor::execute(), SlamBeaconDetector::execute(), GT2005LineFinder_DeterministicApproach::execute(), GT2005ImageProcessor::execute(), GT2005BeaconDetector::execute(), GT2005BasicBehaviorDirectedScanForLandmarks::execute(), SLBenchmark::execute(), GT2005WalkCalibrationMainBehavior::execute(), GT2005BasicBehaviorGoToInterceptionPoint::execute(), GT2005BasicBehaviorGoToRelativePoint::execute(), GT2005BasicBehaviorTurnAroundPointWithRadius::execute(), GT2005BasicBehaviorTurnAroundPointFast::execute(), GT2005BasicBehaviorTurnAroundPoint::execute(), GT2005BasicBehaviorGoaliePosition::execute(), GT2005BasicBehaviorGoToBallWithoutTurning::execute(), GT2005BasicBehaviorGoToBallPropagated::execute(), GT2005BasicBehaviorGoToBall::execute(), GT2005BasicBehaviorNewGoToBall::execute(), GTCamBallLocator::execute(), GT2005BallLocator::execute(), ChallengeSpecialVision::executeReset(), Geometry::fieldCoord2Relative(), GT2005PlayerSpecialist::findBlueFootPointYAxis(), VLCFlagSpecialist::findEndOfFlag(), SlamFlagSpecialist::findEndOfFlag(), GT2005FlagSpecialist::findEndOfFlag(), VLCLineFinder_DeterministicApproach::findIntersections(), SlamBorderFinder::findIntersections(), GT2005LineFinder_DeterministicApproach::findIntersections(), VLCLineFinder_DeterministicApproach::findLineFragments(), SlamBorderFinder::findLineFragments(), GT2005LineFinder_DeterministicApproach::findLineFragments(), VLCLineFinder_DeterministicApproach::findLines(), SlamBorderFinder::findLines(), GT2005LineFinder_DeterministicApproach::findLines(), VLCRobotSpecialist::findNearestFootPoint(), GT2005RobotSpecialist::findNearestFootPoint(), GT2005PlayerSpecialist::findRedFootPointYAxis(), SlamBeaconDetector::findSpecial(), MSH2004EdgeDetection::findStart(), GT2004EdgeDetection::findStart(), VLCRobotSpecialist::generateBoundings(), GT2005RobotSpecialist::generateBoundings(), VLCRobotSpecialist::generateColorspace(), GT2005RobotSpecialist::generateColorspace(), VLCRobotSpecialist::generatePercept(), GT2005RobotSpecialist::generatePercept(), GT2004SelfLocator::generatePoseTemplates(), SlamSampleTemplateGenerator::generateTemplates(), GT2005StableSampleTemplateGenerator::generateTemplates(), GT2005SampleTemplateGenerator::generateTemplates(), GTCamSymbols::getBall(), extLinePair2::getDirection(), Field::getDistance(), Field::getDistanceToOwnPenaltyArea(), SlamEdgeSpecialist::getEdgesPercept(), GT2005EdgeSpecialist::getEdgesPercept(), VLCFlagSpecialist::getFlagPercept(), SlamFlagSpecialist::getFlagPercept(), GT2005FlagSpecialist::getFlagPercept(), horLinePair2::getId(), Geometry::getIntersectionOfLines(), Geometry::getIntersectionPointsOfLineAndRectangle(), VLCLineFinder_DeterministicApproach::getLine(), SlamBorderFinder::getLine(), lineOnField::getLine(), GT2005LineFinder_DeterministicApproach::getLine(), GT2005HeadControl::getLookAtBallAngles(), GTCamSymbols::getOwnDistance(), GTCamWorldState::getPlayerPos(), GTCamWorldState::getPlayerSpeed(), GameRules::getThrowInPointNumber(), SLBenchmark::GoToNextTarget(), MotionRatingBehaviorControl::gotoPoint(), OpenChallengeSymbols::guideDogMoveForward(), OpenChallengeSymbols::guideDogTellsBlindDogTurn(), VLCLineFinder_DeterministicApproach::handleCenterCircle(), GT2005LineFinder_DeterministicApproach::handleCenterCircle(), ImageInfo::horizonAlignedXOf(), ImageInfo::horizonAlignedYOf(), GT2005PlayerSpecialist::inspectColorArea(), CLogAnalyzerBase::interpolate(), VLCGoalRecognizer::interpretResults(), Boundary< double >::isInside(), FieldDimensions::isInsideField(), FieldDimensions::isInsideGoal(), FieldDimensions::isInsideOpponentGoal(), FieldDimensions::isInsideOwnGoal(), GT2005BallLocator::isNonSensePos(), FieldDimensions::isOnOpponentGoalGroundline(), FieldDimensions::isOnOwnGoalGroundline(), Geometry::Line::Line(), LinesPercept::LinePoint::LinePoint(), GT2005WalkCalibrationMainBehavior::Measure(), GT2005BallLocator::measurementUpdate(), mil(), GT2005WalkCalibrationMainBehavior::minDistanceToBorder(), VLCRobotSpecialist::noColorPixelsBetween(), GT2005RobotSpecialist::noColorPixelsBetween(), GT2005BallLocator::noNonsenseParticles(), Vector2< int >::operator *(), Matrix2x2< double >::operator *(), Matrix2x2< double >::operator+(), Vector2< int >::operator+=(), Matrix2x2< double >::operator-(), Vector2< int >::operator-=(), Vector2< int >::operator=(), LinesPercept::LinePoint::operator=(), VLCBallSpecialist::BallPoint::operator=(), GT2005BallSpecialist::BallPoint::operator=(), Vector2< int >::operator==(), VLCImageProcessor::plot(), SlamImageProcessor::plot(), GT2005ImageProcessor::plot(), SlamSampleTemplateGenerator::poseFromBearings(), GT2005StableSampleTemplateGenerator::poseFromBearings(), GT2005SampleTemplateGenerator::poseFromBearings(), GT2004SelfLocator::poseFromBearings(), SlamSampleTemplateGenerator::poseFromBearingsAndDistance(), GT2005StableSampleTemplateGenerator::poseFromBearingsAndDistance(), GT2005SampleTemplateGenerator::poseFromBearingsAndDistance(), GT2004SelfLocator::poseFromBearingsAndDistance(), BallState::positionVectorFromFieldToRobot(), BallState::positionVectorFromRobotToField(), horLinePair2::pt2(), GT2005GoalRecognizer::publishResults(), TeamMessage::read(), VLCGoalRecognizer::recalculateLockedPixels(), GT2005GoalRecognizer::recalculateLockedPixels(), Geometry::relative2FieldCoord(), VLCRobotSpecialist::scan(), VLCImageProcessor::scan(), SlamImageProcessor::scan(), GT2005RobotSpecialist::scan(), GT2005ImageProcessor::scan(), GT2005CenterCircleFinder::scan(), VLCGoalRecognizer::scanAlongLine(), GT2005GoalRecognizer::scanAlongLine(), VLCImageProcessor::scanColumns(), SlamImageProcessor::scanColumns(), GT2005ImageProcessor::scanColumns(), VLCGoalRecognizer::scanCrossBar(), GT2005GoalRecognizer::scanCrossBar(), VLCBallSpecialist::scanForBallPoints(), GT2005BallSpecialist::scanForBallPoints(), VLCBeaconDetector::scanForBeaconEdges(), SlamBeaconDetector::scanForBeaconEdges(), GT2005BeaconDetector::scanForBeaconEdges(), VLCBeaconDetector::scanForBeaconPart(), SlamBeaconDetector::scanForBeaconPart(), GT2005BeaconDetector::scanForBeaconPart(), SlamBeaconDetector::scanForFlagCharacterization(), VLCBeaconDetector::scanForPink(), SlamBeaconDetector::scanForPink(), GT2005BeaconDetector::scanForPink(), SlamGoalRecognizer::scanHorizontalForGoals(), GoalRecognizer::scanHorizontalForGoals(), SlamGoalRecognizer::scanLinesForGoals(), GoalRecognizer::scanLinesForGoals(), VLCGoalRecognizer::scanOnImageBorder(), GT2005GoalRecognizer::scanOnImageBorder(), GuideDogRobotSpecialist::scanParallelToHorizon(), VLCImageProcessor::scanRows(), SlamImageProcessor::scanRows(), GT2005ImageProcessor::scanRows(), GT2005CenterCircleFinder::scanSurrounding(), VLCFlagSpecialist::searchFlags(), SlamFlagSpecialist::searchFlags(), GT2005FlagSpecialist::searchFlags(), KickSelectionTable::searchKickInNeighbourhood(), CircleCalculation::select3Points(), MSH2004EdgeDetection::setDirection(), GT2004EdgeDetection::setDirection(), GTCamWorldState::setPlayerPos(), GTCamWorldState::setPlayerSpeed(), BresenhamLineScan::setup(), GT2005HeadControl::simpleLookAtPointRelativeToRobot(), theta2(), ImageInfo::toHorizonAligned(), ImageInfo::toImageCoordinates(), Matrix2x2< double >::transpose(), SlamSelfLocator::updateByCenterCircle(), GT2005StableSelfLocator::updateByCenterCircle(), GT2005SelfLocator::updateByCenterCircle(), SlamSelfLocator::updateByCrossing(), GT2005StableSelfLocator::updateByCrossing(), GT2005SelfLocator::updateByCrossing(), SlamSelfLocator::updateByFlag(), GT2005StableSelfLocator::updateByFlag(), GT2005SelfLocator::updateByFlag(), GT2004SelfLocator::updateByFlag(), SlamSelfLocator::updateByGoalPost(), GT2005StableSelfLocator::updateByGoalPost(), GT2005SelfLocator::updateByGoalPost(), GT2004SelfLocator::updateByGoalPost(), SlamSelfLocator::updateByNotSeenGoal(), SlamSelfLocator::updateByPoint(), GT2005StableSelfLocator::updateByPoint(), GT2005SelfLocator::updateByPoint(), GT2004SelfLocator::updateByPoint(), FieldDimensions::vectorToBorder(), FieldDimensions::vectorToBorderIncludingGoals(), and TeamMessage::write().


The documentation for this class was generated from the following file:
Generated on Mon Mar 20 22:22:19 2006 for GT2005 by doxygen 1.3.6