|Project Description: ||The project proposes a localization mechanism for supporting directional queries in ad hoc wireless sensor networks. Directional feature of wireless sensor networks is playing an important role in many research areas like ocean observation information analysis and other environment monitoring. In this work, four different algorithms have been applied to analyze the coarsely directional relationship between two different nodes in the wireless sensor networks. Each node in this wireless network has a fixed detecting radius, which means that each node can only retrieve its 1-hop neighborhood information. Those four developed algorithms will facilitate data retrieval between multiple-hop neighborhoods, and provide the directional relationship between any two nodes in this wireless sensor networks.