Hi,

I have a Cesium entity that has a polygon on the surface.

I have the polygon 4 Cartesian3 points.

I need to find the center of the polygon, this polygon will be updated in real time so it wont be a fixed rectangle, trapezoid , etc…

Is there a way to calculate the polygon center Cartesian3 point?

If not, is there a way to calculate a Cartesian3 center point of a polyline?

Thanks.