Wednesday, 2 September 2009

mg.metric geometry - Compute the Centroid of a 3D Planar Polygon

In response to JBL's comment, I offer this answer merely to close out this topic. It has been effectively answered in the comments:
Simply project to xy and to xz and compute the centroid there. (One tiny wrinkle not addressed is if the polygon lies in a plane perpendicular to xy or to xz. But then simply chose the coordinate planes in which it does not lie.)



On the advice of Andrew Stacey, I am designating this answer "community wiki," and hope that someone will vote it up so it will no longer be bumped to the top of the active list by the MO background process.

No comments:

Post a Comment