https://mathproblems123.wordpress.com/2022/09/13/integrating-polynomials-on-polygons/
Okay so I have for a polygon f(x,y)=square root (sum per 3d+ dimension: (O+Xx+Yy-Q) squared). From that, find anti-derivative with respect to x. I can then substitute into later formula for a line with integral 1 to 0. I am stuck at how to get from f(x,y) to anti-derivative. Could I even use like double integral D f(x,y) dA? In f(x,y), all caps are like constants per dimension. O is origin of 2d on plane. X and Y are corresponding vectors. Q is point to compare from. This is for planar so like 2d, closed, straight line, and not self intersecting polygons that may be anywhere in any orientation. This is for 3 or more dimensional calculations. That square root needs to be in integrals. If you have an answer feel free to email maybejosiah@aol.com, me. All as per one might be maybe or might not be maybe, maybe or maybe not, maybe.