Subject: CGAL users discussion list
List archive
- From: amit tripathi <>
- To:
- Cc: "" <>
- Subject: [cgal-discuss] Minkowski'sum : offsetting a polygon
- Date: Wed, 18 Jun 2008 08:51:40 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=e4XwvefmUzCPmN12boKqSSCe8UIemhwyP2qBDhsdUhHWb9E4RS+HS64RzVhe/5Td6b9pnnL96YMbCExLSQs1Bn3fWP1K+QPWvbY4QkRADZo6lGfC/SLj5ujLwH4/eZE14xBg/OACv0UMMeOo+nXKo2IDQ193uNTai6cvJUeM5Po=;
Hi list...... Thanks for response ...............i am sending some attachments ..........and my confusions... 1) While running sum_by_decomposition (attached in mail ) under examples Minkowski_sum_2 and p4.dat (attached in mail) as input file for polygons..................i got floating point exception as follows : [root@localhost Minkowski_sum_2]# ./sum_by_decomposition p4.dat Floating point exception the same happens on running sum_with_holes
[root@localhost Minkowski_sum_2]# ./sum_with_holes p4.dat Floating point exception [root@localhost Minkowski_sum_2]#
2) I am attaching the file approx_offset.cpp ..................in order to print general polygon which would represent the Minkowski sum of a circle of given radius ,under given error bound,with a given polygon........... when i try for it in example Minkowski_sum_2 under my attahed files approx_offset.cpp and print_utils.h ...............i got following output......... [root@localhost Minkowski_sum_2]# ./approx_offset USAGE:executablename inputfilename radius errorbound [root@localhost Minkowski_sum_2]# ./approx_offset spiked.dat 5 0.00001 CGAL error: precondition violation! Expr: CGAL::sign (eps) == POSITIVE File: /usr/include/CGAL/Minkowski_sum_2/Approx_offset_base_2.h Line: 83 Explanation: terminate called after throwing an instance of 'CGAL::Precondition_exception' what(): CGAL ERROR: precondition violation! Expr: CGAL::sign (eps) == POSITIVE File: /usr/include/CGAL/Minkowski_sum_2/Approx_offset_base_2.h Line: 83 Aborted [root@localhost Minkowski_sum_2]# plz make some light to get print of general polygon which would represent the Minkowski sum of a circle of given radius ,under given error bound,with a given polygon........... Thanks alot......... AMIT TRIPATHI 09836562804 M.Tech(C.S.) I.S.I. KOLKATA --- On Tue, 6/17/08, <> wrote: From: <> |
Attachment:
p4.dat
Description: Binary data
Attachment:
print_utils.h
Description: Binary data
Attachment:
sum_by_decomposition.cpp
Description: Binary data
Attachment:
approx_offset.cpp
Description: Binary data
Attachment:
spiked.dat
Description: Binary data
- [cgal-discuss] Minkowski'sum : offsetting a polygon, amit tripathi, 06/17/2008
- Re: [cgal-discuss] Minkowski'sum : offsetting a polygon, efif, 06/18/2008
- [cgal-discuss] Minkowski'sum : offsetting a polygon, amit tripathi, 06/18/2008
- [cgal-discuss] Regular operations : intersection of two simple polygons, amit tripathi, 06/18/2008
- Re: [cgal-discuss] Regular operations : intersection of two simple, Sylvain Pion, 06/18/2008
- <Possible follow-up(s)>
- Fw: [cgal-discuss] Minkowski'sum : offsetting a polygon, amit tripathi, 06/18/2008
- Re: [cgal-discuss] Minkowski'sum : offsetting a polygon, efif, 06/18/2008
Archive powered by MHonArc 2.6.16.