Operation double computeFaceDirection (ArrayList visualInfo, HashMap staticObjects), in Class WorldModel

Documentation
* Computes the player's facing direction with respect to the field
* in degrees, 0 is up and 90 is to the right.
* Code was adapted from field.cc from AT-Humbolt 98 team code.
* Uses lines to determine the facing direction, or two flags and
* the law of cosines if no lines are available.
* @param visualInfo an array of what the player can see
* @param staticObjects contains the locations of all the flags
* @return the facing direction of player, in degrees


Protocol Qualification 
Exceptions Size 
Time ConcurrencySequential
Export ControlPrivateAccess  


Preconditions


Postconditions


Semantics



Property Settings

Java
AbstractFalseStaticFalse
FinalFalseNativeFalse
SynchronizedFalse  


Data Modeler
dmItemFalseDMName 
IsConstraintFalseConstraintType 
IsIndexFalseIsTriggerFalse
IsClusterFalseTableSpace 
FillFactor0KeyList 
CheckPredicate IsUniqueFalse
DeferalMode InitialCheckTime 
TriggerType TriggerReferencePart 
IsInsertEventFalseIsUpdateEventFalse
IsDeleteEventFalse