Weighted average of points in a polygon

All about geometry

Weighted average of points in a polygon

Postby Guest » Wed Apr 07, 2021 6:54 am

Hey!

I'm not sure I'm using the correct mathematical terms here but -

Lets say I have a polygon (it can be any polygon, and let's assume it's blocked within a circle), and I also have a point inside this polygon (point M).
I know all points coodinates, and I want to know the weight of each point of the polygon (points A, B and C) based on M position.

For example, if M is in the middle, each point weight will be 33.3%, if M is on point A, point A weight will be 100%, and points B and C will be 0%.

Having trouble with this one :) Thanks in advance!
Attachments
Screen Shot 2021-04-07 at 13.24.17.png
Screen Shot 2021-04-07 at 13.24.17.png (737.27 KiB) Viewed 538 times
Guest
 

Re: Weighted average of points in a polygon

Postby shyamjayakannan » Wed Mar 11, 2026 2:29 pm

you can find the weights based on the distance of each point from M. the total will be the sum of the distances and then you can find the weights by dividing each point's distance by the sum total.

shyamjayakannan
 
Posts: 114
Joined: Sun Feb 02, 2025 12:23 pm
Reputation: 136


Return to Geometry



Who is online

Users browsing this forum: No registered users and 7 guests