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: Roeland Boeters <>
  • To:
  • Subject: Re: [cgal-discuss] Convex_hull_3 -> points.size() > 3
  • Date: Mon, 25 Mar 2013 12:11:55 +0100

Thanks, that was indeed the case.


2013/3/25 Sebastien Loriot (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.



--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page