I have a series of randomly distributed points within a circular area. Each point is a class containing a vector for position and a vector for direction. Before anything has moved, it should look similar to this:

Each circle, excluding the center is a point, and the line represents the directional vector added to the current position. You can see how the direction of each point is perpenducular to the center, and they all point in a counter-clockwise direction.
What I can''t figure out, it how to determine the directional vector only knowing the current position. If a point was at (5,0) the directional vector would be (1,0). (It doesn''t have to be 1, but the idea is that it would be pointing strait up). If the point is at (0,4) the directional vector should be (-1,0). (Again the -1 may vary).
Remember, forget EVERYTHING i posted before, all it did was confuse everyone.(sorry)