Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Convex_hull_3 -> points.size() > 3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Convex_hull_3 -> points.size() > 3


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Convex_hull_3 -> points.size() > 3
  • Date: Mon, 25 Mar 2013 11:13:51 +0100
  • Organization: GeometryFactory

You are using the overload filling a polyhedron that expects to have at
least three non-collinear points provided as input.

The solution is to either check on your side this, or use the global
function returning an object.

Sebastien.

On 03/25/2013 11:04 AM, mastair wrote:
I am calculating a lot of convex_hull_3, and somewhere along the way I get
this error:

CGAL error: precondition violation!
Expression : points.size()> 3
File : c:\dev\cgal-4.1\include\cgal\convex_hull_3.h
Line : 880

Any suggestion of what the problem might be?



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Convex-hull-3-points-size-3-tp4657015.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page