Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] [REPOST] Why do I get precondition violation here

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] [REPOST] Why do I get precondition violation here


Chronological Thread 
  • From: Kim <>
  • To:
  • Subject: Re: [cgal-discuss] [REPOST] Why do I get precondition violation here
  • Date: Thu, 14 May 2009 23:18:10 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=gQo+57h6/nk6VK+HqMc7BmKtF3LOCy4mX4hvXL5J2FOzK5L9BTJQLKiAmj5wO7A5/U 4+jMtd4gpvh1/qw8h55ApvQjxE61a3LyT6Rgch75EKMScoJnVma6UnvEh6DKXc97Eo8J yjUBtq14gtIyIDVIoQYOo7XfGNIcduaocMljE=

Hi Bernd..

thank for your interst , sorry I totally missed your post ...


>>What kernel are you using? Please read the following FAQ item to see
>>whether it is related to your problem:
>>>>http://www.cgal.org/FAQ.html#inexact_NT.

what I can see I use safe CGAL::Gmpq . is that correct that it is good enough
?

best regards
Kim

my typedefs :

typedef CGAL::Gmpq Base_nt;
typedef CGAL::Lazy_exact_nt<Base_nt> Coord_type;

struct Kernel : public CGAL::Cartesian<Coord_type> {};

typedef Kernel::Point_2 Point_2;
typedef Kernel::Circle_2 Circle;
typedef CGAL::Gps_circle_segment_traits_2<Kernel> Traits;
typedef Traits::Curve_2 Curve;
typedef Traits::X_monotone_curve_2 XCurve;
typedef Traits::Point_2 Circular_point_2;
typedef Traits::Polygon_2 Polygon_2;


On Thu, May 14, 2009 at 9:39 AM, Bernd Gaertner
<>
wrote:
> Kim wrote:
>>
>> Hi
>> sorry ! this is a repost ,,,  but I am really stopped.
>>
>> noone has any idear at all ? any clue is appreciated!
>> I am sure the start and endpoint are the same ,, since if I input the
>> same , just as linesegment then it works perfect.
>>
>> Why is the polygon below failing when
>> trying to
>> if (pgn.orientation()==CGAL::CLOCKWISE )   <-- fails with error , see
>> below
>> Precondition violation.
>
> What kernel are you using? Please read the following FAQ item to see whether
> it is related to your problem: http://www.cgal.org/FAQ.html#inexact_NT.
>
> Best,
> Bernd.
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>



Archive powered by MHonArc 2.6.16.

Top of Page