Could you edit your post so it is understandable? Please capitalize the word "I", and check your spelling.
This seems like homework. Don't expect someone to do your homework. If you show what you have tried, or explain how you plan to proceed, we can point you in the right direction.
You will need to explain what you mean by a feature, and the distance. Understanding a problem clearly and being able to explain the problem often is the first step toward a solution.
Last edited by jschiwal; 04-15-2012 at 07:00 PM.