commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curtis Jensen <>
Subject [math] Union Produces In-Line Vertex
Date Mon, 29 Jul 2013 21:37:18 GMT
The 2D Euclidean union function sometimes produces an extra, in-line, vertex.

For example, in the "testUnion" function in the
org.apache.commons.math3.geometry.euclidean.twod.PolygonsSetTest, the
"set" produced by the union of "set1" and "set2" has 9 vertices. I
believe that there should only be 8.  The extra vertex is 3,2; which
is in-line between the vertices 3,1 and 3,3.

The overall shape of the union is correct; however, there is a vertex
that really is not a vertex (an intersection of two distinct line

Is this the intended behavior or perhaps a bug?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message