You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Juntunen (Jira)" <ji...@apache.org> on 2019/12/03 16:48:00 UTC
[jira] [Created] (GEOMETRY-71) Investigate Spherical Barycenter
Accuracy
Matt Juntunen created GEOMETRY-71:
-------------------------------------
Summary: Investigate Spherical Barycenter Accuracy
Key: GEOMETRY-71
URL: https://issues.apache.org/jira/browse/GEOMETRY-71
Project: Apache Commons Geometry
Issue Type: Task
Reporter: Matt Juntunen
The current code for computing spherical barycenters in {{ConvexArea2S.getBarycenter()}} seems to suffer from floating point accuracy issues. The {{ConvexArea2STest.checkBarycenterConsistency()}} method checks the consistency of the barycenter computation of a region by splitting the region into two sections, computing the area and barycenter of each section, and then computing the combined barycenter of the sections by adding the barycenter of each scaled by its corresponding area. It is expected that the combined barycenter computed in this way should equal the barycenter computed for the region as a whole. However, in practice, a large epsilon value is needed in the comparison in order for the tests to pass. We need to investigate why this is the case.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)