Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Find Center Point of 'N' Points
Message
From
21/12/2000 16:48:30
 
 
To
21/12/2000 16:41:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00455963
Message ID:
00456098
Views:
23
>>Hi All,
>>
>>I have a need to develop an algorithm that will find the center point of 'N' other points. The total number of other points will be from 2 to 5 typically, though it could go up to around 20.
>>
>
>Simply put, your answer lies in averaging the x's, and averaging the y's, and using those averages as your center.

Erik,

Right. Got my answer from larry a coule hours back. Thanks!

I had a case of programmer's disease - I was taking something simple and making it complicated. <g>
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform