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

Tools/FieldDimensions.h File Reference

Description of the Dimensions of the Field. More...

#include "Math/Geometry.h"
#include "Math/Common.h"

Include dependency graph for FieldDimensions.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  Landmark
 Points that can act as landmarks! For the goal and the corner posts these points (in 3D) lie on the top-most point of the landmarks. More...

class  FieldDimensions
 Static class containing some useful functions regarding field dimensions. More...


Functions

const Vector2< int > ownGroundlineLeft (xPosOwnGroundline, yPosLeftGroundline)
const Vector2< int > ownGroundlineRight (xPosOwnGroundline, yPosRightGroundline)
const Vector2< int > ownGoalRearPanelMiddle (xPosOwnGoal, yPosCenterGoal)
const Vector2< int > opponentGoalRearPanelMiddle (xPosOpponentGoal, yPosCenterGoal)
const Vector2< int > opponentGroundlineLeft (xPosOpponentGroundline, yPosLeftGroundline)
const Vector2< int > opponentGroundlineRight (xPosOpponentGroundline, yPosRightGroundline)
const Vector2< int > leftSideLineOwnEnd (xPosOwnSideCorner, yPosLeftSideline)
const Vector2< int > leftSideLineOpponentEnd (xPosOpponentSideCorner, yPosLeftSideline)
const Vector2< int > rightSideLineOwnEnd (xPosOwnSideCorner, yPosRightSideline)
const Vector2< int > rightSideLineOpponentEnd (xPosOpponentSideCorner, yPosRightSideline)
const Vector2< int > ownGoalLeftPost (xPosOwnGroundline, yPosLeftGoal)
const Vector2< int > ownGoalRightPost (xPosOwnGroundline, yPosRightGoal)
const Vector2< int > opponentGoalLeftPost (xPosOpponentGroundline, yPosLeftGoal)
const Vector2< int > opponentGoalRightPost (xPosOpponentGroundline, yPosRightGoal)
const Vector2< int > ownGoalLeftRearPanel (xPosOwnGoal, yPosLeftGoal)
const Vector2< int > ownGoalRightRearPanel (xPosOwnGoal, yPosRightGoal)
const Vector2< int > opponentGoalLeftRearPanel (xPosOpponentGoal, yPosLeftGoal)
const Vector2< int > opponentGoalRightRearPanel (xPosOpponentGoal, yPosRightGoal)
const Geometry::Line leftWall (leftSideLineOwnEnd, leftSideLineOpponentEnd-leftSideLineOwnEnd)
const Geometry::Line opponentLeftCorner (leftSideLineOpponentEnd, opponentGroundlineLeft-leftSideLineOpponentEnd)
const Geometry::Line opponentLeftGroundline (opponentGroundlineLeft, opponentGoalLeftPost-opponentGroundlineLeft)
const Geometry::Line opponentGoalLeftWall (opponentGoalLeftPost, opponentGoalLeftRearPanel-opponentGoalLeftPost)
const Geometry::Line opponentGoalRearWall (opponentGoalLeftRearPanel, opponentGoalRightRearPanel-opponentGoalLeftRearPanel)
const Geometry::Line opponentGoalRightWall (opponentGoalRightRearPanel, opponentGoalRightPost-opponentGoalRightRearPanel)
const Geometry::Line opponentRightGroundline (opponentGoalRightPost, opponentGroundlineRight-opponentGoalRightPost)
const Geometry::Line opponentRightCorner (opponentGroundlineRight, rightSideLineOpponentEnd-opponentGroundlineRight)
const Geometry::Line rightWall (rightSideLineOpponentEnd, rightSideLineOwnEnd-rightSideLineOpponentEnd)
const Geometry::Line ownRightCorner (rightSideLineOwnEnd, ownGroundlineRight-rightSideLineOwnEnd)
const Geometry::Line ownRightGroundline (ownGroundlineRight, ownGoalRightPost-ownGroundlineRight)
const Geometry::Line ownGoalRightWall (ownGoalRightPost, ownGoalRightRearPanel-ownGoalRightPost)
const Geometry::Line ownGoalRearWall (ownGoalRightRearPanel, ownGoalLeftRearPanel-ownGoalRightRearPanel)
const Geometry::Line ownGoalLeftWall (ownGoalLeftRearPanel, ownGoalLeftPost-ownGoalLeftRearPanel)
const Geometry::Line ownLeftGroundline (ownGoalLeftPost, ownGroundlineLeft-ownGoalLeftPost)
const Geometry::Line ownLeftCorner (ownGroundlineLeft, leftSideLineOwnEnd-ownGroundlineLeft)

Variables

const int xPosOpponentGoal = 2450
const int xPosFrontFlags = 2200
const int xPosOpponentGoalpost = 2200
const int xPosOpponentGroundline = 2100
const int xPosOpponentSideCorner = 1800
const int xPosOpponentPenaltyArea = 1600
const int xPosCenterOpponentHalf = 1200
const int xPosHalfWayLine = 0
const int xPosCenterOwnHalf = -1200
const int xPosOwnPenaltyArea = -1600
const int xPosOwnSideCorner = -1800
const int xPosOwnGroundline = -2100
const int xPosOwnGoalpost = -2200
const int xPosBackFlags = -2200
const int xPosOwnGoal = -2450
const int yPosLeftFlags = 1450
const int yPosLeftSideline = 1350
const int yPosLeftGroundline = 1050
const int yPosCenterLeftHalf = 700
const int yPosLeftPenaltyArea = 500
const int yPosLeftGoal = 300
const int yPosCenterGoal = 0
const int yPosRightGoal = -300
const int yPosRightPenaltyArea = -500
const int yPosCenterRightHalf = -700
const int yPosRightGroundline = -1050
const int yPosRightSideline = -1350
const int yPosRightFlags = -1450
const int xPosYellowGroundline = 2100
const int xPosYellowSideCorner = 1800
const int xPosYellowPenaltyArea = 1600
const int xPosBluePenaltyArea = -1600
const int xPosBlueSideCorner = -1800
const int xPosBlueGroundline = -2100
const int centerCircleRadius = 150
const double flagRadius = 51.5
const int flagHeight = 200
const int flagColorHeight = 100
const int goalHeight = 300
const double ballRadius = 43
const int soccerBallRadius = 45
const int fieldLinesWidth = 25
const int wallHeight = 100
const int numOfLandmarks = 13
const class Landmark targetPointOnLandmark [numOfLandmarks]
 Points that can act as landmarks! For the goal and the corner posts these points (in 3D) lie on the top-most point of the landmarks.


Detailed Description

Description of the Dimensions of the Field.

Author:
Matthias Jüngel

Thomas Röfer

Definition in file FieldDimensions.h.


Function Documentation

const Vector2<int> ownGroundlineLeft xPosOwnGroundline  ,
yPosLeftGroundline 
[static]
 

const Vector2<int> ownGroundlineRight xPosOwnGroundline  ,
yPosRightGroundline 
[static]
 

const Vector2<int> ownGoalRearPanelMiddle xPosOwnGoal  ,
yPosCenterGoal 
[static]
 

const Vector2<int> opponentGoalRearPanelMiddle xPosOpponentGoal  ,
yPosCenterGoal 
[static]
 

const Vector2<int> opponentGroundlineLeft xPosOpponentGroundline  ,
yPosLeftGroundline 
[static]
 

const Vector2<int> opponentGroundlineRight xPosOpponentGroundline  ,
yPosRightGroundline 
[static]
 

const Vector2<int> leftSideLineOwnEnd xPosOwnSideCorner  ,
yPosLeftSideline 
[static]
 

const Vector2<int> leftSideLineOpponentEnd xPosOpponentSideCorner  ,
yPosLeftSideline 
[static]
 

const Vector2<int> rightSideLineOwnEnd xPosOwnSideCorner  ,
yPosRightSideline 
[static]
 

const Vector2<int> rightSideLineOpponentEnd xPosOpponentSideCorner  ,
yPosRightSideline 
[static]
 

const Vector2<int> ownGoalLeftPost xPosOwnGroundline  ,
yPosLeftGoal 
[static]
 

const Vector2<int> ownGoalRightPost xPosOwnGroundline  ,
yPosRightGoal 
[static]
 

const Vector2<int> opponentGoalLeftPost xPosOpponentGroundline  ,
yPosLeftGoal 
[static]
 

const Vector2<int> opponentGoalRightPost xPosOpponentGroundline  ,
yPosRightGoal 
[static]
 

const Vector2<int> ownGoalLeftRearPanel xPosOwnGoal  ,
yPosLeftGoal 
[static]
 

const Vector2<int> ownGoalRightRearPanel xPosOwnGoal  ,
yPosRightGoal 
[static]
 

const Vector2<int> opponentGoalLeftRearPanel xPosOpponentGoal  ,
yPosLeftGoal 
[static]
 

const Vector2<int> opponentGoalRightRearPanel xPosOpponentGoal  ,
yPosRightGoal 
[static]
 

const Geometry::Line leftWall leftSideLineOwnEnd  ,
leftSideLineOpponentEnd-  leftSideLineOwnEnd
[static]
 

const Geometry::Line opponentLeftCorner leftSideLineOpponentEnd  ,
opponentGroundlineLeft-  leftSideLineOpponentEnd
[static]
 

const Geometry::Line opponentLeftGroundline opponentGroundlineLeft  ,
opponentGoalLeftPost-  opponentGroundlineLeft
[static]
 

const Geometry::Line opponentGoalLeftWall opponentGoalLeftPost  ,
opponentGoalLeftRearPanel-  opponentGoalLeftPost
[static]
 

const Geometry::Line opponentGoalRearWall opponentGoalLeftRearPanel  ,
opponentGoalRightRearPanel-  opponentGoalLeftRearPanel
[static]
 

const Geometry::Line opponentGoalRightWall opponentGoalRightRearPanel  ,
opponentGoalRightPost-  opponentGoalRightRearPanel
[static]
 

const Geometry::Line opponentRightGroundline opponentGoalRightPost  ,
opponentGroundlineRight-  opponentGoalRightPost
[static]
 

const Geometry::Line opponentRightCorner opponentGroundlineRight  ,
rightSideLineOpponentEnd-  opponentGroundlineRight
[static]
 

const Geometry::Line rightWall rightSideLineOpponentEnd  ,
rightSideLineOwnEnd-  rightSideLineOpponentEnd
[static]
 

const Geometry::Line ownRightCorner rightSideLineOwnEnd  ,
ownGroundlineRight-  rightSideLineOwnEnd
[static]
 

const Geometry::Line ownRightGroundline ownGroundlineRight  ,
ownGoalRightPost-  ownGroundlineRight
[static]
 

const Geometry::Line ownGoalRightWall ownGoalRightPost  ,
ownGoalRightRearPanel-  ownGoalRightPost
[static]
 

const Geometry::Line ownGoalRearWall ownGoalRightRearPanel  ,
ownGoalLeftRearPanel-  ownGoalRightRearPanel
[static]
 

const Geometry::Line ownGoalLeftWall ownGoalLeftRearPanel  ,
ownGoalLeftPost-  ownGoalLeftRearPanel
[static]
 

const Geometry::Line ownLeftGroundline ownGoalLeftPost  ,
ownGroundlineLeft-  ownGoalLeftPost
[static]
 

const Geometry::Line ownLeftCorner ownGroundlineLeft  ,
leftSideLineOwnEnd-  ownGroundlineLeft
[static]
 


Variable Documentation

const int xPosOpponentGoal = 2450 [static]
 

Definition at line 21 of file FieldDimensions.h.

const int xPosFrontFlags = 2200 [static]
 

Definition at line 22 of file FieldDimensions.h.

const int xPosOpponentGoalpost = 2200 [static]
 

Definition at line 23 of file FieldDimensions.h.

const int xPosOpponentGroundline = 2100 [static]
 

Definition at line 24 of file FieldDimensions.h.

const int xPosOpponentSideCorner = 1800 [static]
 

Definition at line 25 of file FieldDimensions.h.

const int xPosOpponentPenaltyArea = 1600 [static]
 

Definition at line 26 of file FieldDimensions.h.

const int xPosCenterOpponentHalf = 1200 [static]
 

Definition at line 27 of file FieldDimensions.h.

const int xPosHalfWayLine = 0 [static]
 

Definition at line 28 of file FieldDimensions.h.

const int xPosCenterOwnHalf = -1200 [static]
 

Definition at line 30 of file FieldDimensions.h.

const int xPosOwnPenaltyArea = -1600 [static]
 

Definition at line 31 of file FieldDimensions.h.

const int xPosOwnSideCorner = -1800 [static]
 

Definition at line 32 of file FieldDimensions.h.

const int xPosOwnGroundline = -2100 [static]
 

Definition at line 33 of file FieldDimensions.h.

const int xPosOwnGoalpost = -2200 [static]
 

Definition at line 34 of file FieldDimensions.h.

const int xPosBackFlags = -2200 [static]
 

Definition at line 35 of file FieldDimensions.h.

const int xPosOwnGoal = -2450 [static]
 

Definition at line 36 of file FieldDimensions.h.

const int yPosLeftFlags = 1450 [static]
 

Definition at line 38 of file FieldDimensions.h.

const int yPosLeftSideline = 1350 [static]
 

Definition at line 39 of file FieldDimensions.h.

const int yPosLeftGroundline = 1050 [static]
 

Definition at line 40 of file FieldDimensions.h.

const int yPosCenterLeftHalf = 700 [static]
 

Definition at line 41 of file FieldDimensions.h.

const int yPosLeftPenaltyArea = 500 [static]
 

Definition at line 42 of file FieldDimensions.h.

const int yPosLeftGoal = 300 [static]
 

Definition at line 43 of file FieldDimensions.h.

const int yPosCenterGoal = 0 [static]
 

Definition at line 44 of file FieldDimensions.h.

const int yPosRightGoal = -300 [static]
 

Definition at line 45 of file FieldDimensions.h.

const int yPosRightPenaltyArea = -500 [static]
 

Definition at line 46 of file FieldDimensions.h.

const int yPosCenterRightHalf = -700 [static]
 

Definition at line 47 of file FieldDimensions.h.

const int yPosRightGroundline = -1050 [static]
 

Definition at line 48 of file FieldDimensions.h.

const int yPosRightSideline = -1350 [static]
 

Definition at line 49 of file FieldDimensions.h.

const int yPosRightFlags = -1450 [static]
 

Definition at line 50 of file FieldDimensions.h.

const int xPosYellowGroundline = 2100 [static]
 

Definition at line 53 of file FieldDimensions.h.

const int xPosYellowSideCorner = 1800 [static]
 

Definition at line 54 of file FieldDimensions.h.

const int xPosYellowPenaltyArea = 1600 [static]
 

Definition at line 55 of file FieldDimensions.h.

const int xPosBluePenaltyArea = -1600 [static]
 

Definition at line 57 of file FieldDimensions.h.

const int xPosBlueSideCorner = -1800 [static]
 

Definition at line 58 of file FieldDimensions.h.

const int xPosBlueGroundline = -2100 [static]
 

Definition at line 59 of file FieldDimensions.h.

const int centerCircleRadius = 150 [static]
 

Definition at line 62 of file FieldDimensions.h.

const double flagRadius = 51.5 [static]
 

Definition at line 63 of file FieldDimensions.h.

const int flagHeight = 200 [static]
 

Definition at line 64 of file FieldDimensions.h.

const int flagColorHeight = 100 [static]
 

Definition at line 65 of file FieldDimensions.h.

const int goalHeight = 300 [static]
 

Definition at line 66 of file FieldDimensions.h.

const double ballRadius = 43 [static]
 

Definition at line 67 of file FieldDimensions.h.

const int soccerBallRadius = 45 [static]
 

Definition at line 68 of file FieldDimensions.h.

const int fieldLinesWidth = 25 [static]
 

Definition at line 69 of file FieldDimensions.h.

const int wallHeight = 100 [static]
 

Definition at line 70 of file FieldDimensions.h.

const int numOfLandmarks = 13 [static]
 

Definition at line 300 of file FieldDimensions.h.

const class Landmark targetPointOnLandmark[numOfLandmarks] [static]
 

Points that can act as landmarks! For the goal and the corner posts these points (in 3D) lie on the top-most point of the landmarks.

This is because when looking at them, headcontrol looks


Generated on Thu Sep 23 20:02:14 2004 for GT2004 by doxygen 1.3.6