[ 
https://issues.apache.org/jira/browse/GEOMETRY-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gilles resolved GEOMETRY-58.
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.0

Yes. Done.

> WelzlEncloser throws GeometryInternalError
> ------------------------------------------
>
>                 Key: GEOMETRY-58
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-58
>             Project: Apache Commons Geometry
>          Issue Type: Bug
>          Components: Euclidean 2D
>            Reporter: Benjamin Krogh
>            Priority: Critical
>             Fix For: 1.0
>
>
> The following code snippet throws a GeometryInternalError exception:
> {noformat}
> @Test
> public void testEnclosingWithPrecision() {
>     final List<Vector2D> points = Arrays.asList(
>             Vector2D.of(271.59, 57.282),
>             Vector2D.of(269.145, 57.063),
>             Vector2D.of(309.117, 77.187),
>             Vector2D.of(316.989, 34.835),
>             Vector2D.of(323.101, 53.972)
>     );
>     double precision = 1;
>     DoublePrecisionContext precisionContext = new 
> EpsilonDoublePrecisionContext(precision);
>     WelzlEncloser< Vector2D> encloser = new WelzlEncloser<>(precisionContext, 
> new DiskGenerator());
>     encloser.enclose(points);
> }{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to