class
	GAME_HAPTIC_POLAR_DIRECTION

General
	cluster: haptic
	description: 
		"Represent the direction that an effect come from (an not where
		it goes, be carefull). Direction is encoded by hundredths of a
		degree starting north and turning clockwise. Cardinal directions
		of the haptic device are relative to the positioning of the device. 
		North is considered to be away from the user, south is toward the user, 
		east is right, and west is left of the user:
		
		               .--.
		               |__| .-------.
		               |=.| |.-----.|
		               |--| ||     ||
		               |  | |'-----'|
		               |__|~')_____('
		                [ COMPUTER ]
		
		
		                 North (0)
		                      ^
		                      |
		                      |
		(9000) West <----[ HAPTIC ]----> East (27000)
		                      |
		                      |
		                      v
		                 South (18000)
		
		
		                 [ USER ]
		                   \|||/
		                   (o o)
		             ---ooO-(_)-Ooo---"
	create: make_from_other, make, make_with_angle

Ancestors
	GAME_HAPTIC_DIRECTION

Queries
	angle: INTEGER_32
	exists: BOOLEAN
	is_cartesian: BOOLEAN
	is_equal (a_other: [like Current] GAME_HAPTIC_POLAR_DIRECTION): BOOLEAN
	is_polar: BOOLEAN
	is_spherical: BOOLEAN
	is_values_equal (a_other: GAME_HAPTIC_DIRECTION): BOOLEAN
	item: POINTER
	shared: BOOLEAN
	structure_size: INTEGER_32

Commands
	make
	make_by_pointer (a_ptr: POINTER)
	set_angle (a_angle: INTEGER_32)

Constraints
	type valid


Generated by ISE EiffelStudio