You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Matt Juntunen <ma...@hotmail.com> on 2020/05/17 18:13:52 UTC

[geometry] Centroid vs Barycenter

Hello,

I've created GEOMETRY-97 [1] to change commons-geometry to use the term "centroid" to refer to the center of mass of a geometric object instead of the term "barycenter" (inherited from commons-math). The two terms can be used interchangeably [2] but "centroid" seems to be used far more often. (I generally need to use "centroid" when searching for algorithms and articles online in order to get useful results.) Does anyone have an opinion on this?

I know this is nit-picking since the two terms mean the same thing, but I'd like to make the library as intuitive as possible for first-time users.

Regards,
Matt J

[1] https://issues.apache.org/jira/projects/GEOMETRY/issues/GEOMETRY-97
[2] https://en.wikipedia.org/wiki/Centroid


Re: [geometry] Centroid vs Barycenter

Posted by Gilles Sadowski <gi...@gmail.com>.
Hi.

2020-05-17 20:13 UTC+02:00, Matt Juntunen <ma...@hotmail.com>:
> Hello,
>
> I've created GEOMETRY-97 [1] to change commons-geometry to use the term
> "centroid" to refer to the center of mass of a geometric object instead of
> the term "barycenter" (inherited from commons-math). The two terms can be
> used interchangeably [2] but "centroid" seems to be used far more often. (I
> generally need to use "centroid" when searching for algorithms and articles
> online in order to get useful results.) Does anyone have an opinion on
> this?
>
> I know this is nit-picking since the two terms mean the same thing,

If in [Geometry] there is no notion of mass, "centroid" is more
appropriate than "center of mass".

> but I'd
> like to make the library as intuitive as possible for first-time users.

+1

Gilles

> Regards,
> Matt J
>
> [1] https://issues.apache.org/jira/projects/GEOMETRY/issues/GEOMETRY-97
> [2] https://en.wikipedia.org/wiki/Centroid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org