181
Views
51
CrossRef citations to date
0
Altmetric
Original Article

Calculating Center of Mass in an Unbounded 2D Environment

&
Pages 53-60 | Published online: 30 Jan 2011
 

Abstract

We study the behavior of simple, 2D, self-organizing primitives that interact and move in an unbounded environment to create aggregated shapes. Each primitive is represented by a disk and a unit point mass. In order to compare the aggregated shape produced by the primitives to other shapes, the centers of mass of the two shapes must be aligned. We present an algorithm for calculating the center of mass (COM) for a set of point masses that are distributed in an unbounded 2D environment. The algorithm calculates the centroid for each coordinate component separately by forming two "orthogonal" tubes, calculating a center of mass in 3D for each tube and then projecting the 3D COM back onto the tubes, in order to produce the 2D COM of the points.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.