0t3ch / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

AForge.Math.Geometry.GrahamConvexHull FindHull #331

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. If FindHull(intPoints) is called where intPoints.Count < 2
2.
3.

What is the expected output? What do you see instead?

Throws exception on convexHullTemp.Add(pointsToProcess[0]), as pointsToProcess 
by then is empty. 

What version of the product are you using?
2.2.4

Please provide any additional information below.

Original issue reported on code.google.com by jp.taylo...@gmail.com on 29 Jan 2013 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 29 Jan 2013 at 2:40

GoogleCodeExporter commented 9 years ago
Fixed GrahamConvexHull so it handles correctly lists with 1 point only. Unit 
test is added.

Committed in revision 1701.

Original comment by andrew.k...@gmail.com on 29 Jan 2013 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 16 Jul 2013 at 9:54