/[Apache-SVN]
ViewVC logotype

Revision 1563712


Jump to revision: Previous Next
Author: luc
Date: Sun Feb 2 20:52:49 2014 UTC (10 years, 9 months ago)
Changed paths: 5
Log Message:
Fixed sphere generation in degenerated cases.

In almost coplanar / almost colinear cases, sphere generation could
diverge in such a way the support points did not belong to the sphere
anymore! This new implementation uses exact arithmetic for the
computation. It is much slower, but since very few balls should be
generated during the Welzl algorithm execution, this is probably
acceptable.

JIRA: MATH-1096

Changed paths

Path Details
Directorycommons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/enclosing/WelzlEncloser.java modified , text changed
Directorycommons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/threed/SphereGenerator.java modified , text changed
Directorycommons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/DiskGenerator.java modified , text changed
Directorycommons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/enclosing/WelzlEncloser3DTest.java modified , text changed
Directorycommons/proper/math/trunk/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/SphereGeneratorTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26