kislotd

2022-07-21

How to use barycentric coordinates for polygons
Suppose we want to deal with the problems with a sided polygons then how can we proceed in barycentric coordinates,
That is how can we fame the coordinates of the hexagon in barycentric coordinates.

Jazlene Dickson

Expert

Step 1
It depends on your exact problem, but assuming a plane polygon, then any three non-collinear vertices of the polygon determine a triangle of reference for a barycentric coordinate system. You could use instead any other three non-collinear points in the plane of the polygon. Any points in the plane determined by the triangle, and hence the polygon vertices, will be an affine combination of the the reference triangle vertices.
Step 2
For example, if $\phantom{\rule{thinmathspace}{0ex}}{p}_{1},{p}_{2},{p}_{3}\phantom{\rule{thinmathspace}{0ex}}$ are the three reference points, with their existing ordinary coordinates, and p is a point in the same plane, then $\phantom{\rule{thinmathspace}{0ex}}p={a}_{1}{p}_{1}+{a}_{2}{p}_{2}+{a}_{3}{p}_{3}\phantom{\rule{thinmathspace}{0ex}}$ for some real numbers such that $\phantom{\rule{thinmathspace}{0ex}}1={a}_{1}+{a}_{2}+{a}_{3}\phantom{\rule{thinmathspace}{0ex}}$ and their values can be determined by solving a system of linear equations using the existing coordinates.

Do you have a similar question?