Hi.
I have a question regarding
public Region<Euclidean2D> createRegion() throws
InsufficientDataException
in ConvexHull2D.
It throws the exception when the number of points is < 3.
One can imagine that rather than aborting it could return an "empty
Region"
(which would seamlessly work with further operations on the Region).
What do you think?
Context: in the course of a program, a "valid" region can undergo
successive
transformation until it is indeed impossible to compute the hull; it
seems
that it would be interesting to not treat that as a hard-failure
(warranting
an exception).
Regards,
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org