Subject: CGAL users discussion list
List archive
- From: "ZHAO Junqiao \(John\)" <>
- To: <>
- Subject: RE: [cgal-discuss] Assertion of Minkowski_sum_3
- Date: Sun, 29 May 2011 22:44:02 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=b0rT5nU7IyBnpJILLcBCRa/pCvbnJ9SKhJTIhYPlFYf8hBP9ubv90pU88IRK/gvhQW mt0N9acaFj8WS6AC9W3isv6yqPL/6bPhRvE4o8/FKNgILuKXTgCRL8xTIwyM2SdGBXoK C5iT++RMkYRmSX8e+QnW2PfTgCWh+8o/H/udA=
Dear Sebastien,
Thanks very much for your efforts.
I discovered that Polyhedron_3::is_valid(true, x) will always produce NOT
VALID. When x is larger than 1.
In line 143 of HalfedgeDS_const_decorator.h, each time when the iteration is
finished, e will be equal to hds->halfedges_end(). However, the address of
the e is not NULL, which will not be equal to the address of
hds->border_halfedges_begin().
It is also interesting that neither correct.off and error.off could pass the
is_valid (, x) check (where x >0), but they do pass the is_closed () check.
So it's still not clear to me what are the causes of the problem.
I will do further investigation too.
Wishes,
John
-----Original Message-----
From: Sebastien Loriot (GeometryFactory)
[mailto:]
Sent: Friday, May 27, 2011 8:45 PM
To:
Subject: Re: [cgal-discuss] Assertion of Minkowski_sum_3
Sorry for the late answer,
I am working on a issue I though was similar to your
but one problem I have with correct.off and error.off is
that if I call the Polyhedron_3 method is_valid(true,4), then
it tells me that the polyhedron is not valid.
If I try loading the Nef_polyhedron using the function
OFF_to_nef_3, then the Nef_polyhedron I have is open and
so the minkowski sum cannot be done.
S.
- Re: [cgal-discuss] Assertion of Minkowski_sum_3, Sebastien Loriot (GeometryFactory), 05/27/2011
- RE: [cgal-discuss] Assertion of Minkowski_sum_3, ZHAO Junqiao \(John\), 05/29/2011
- Re: [cgal-discuss] Assertion of Minkowski_sum_3, Sebastien Loriot (GeometryFactory), 05/30/2011
- RE: [cgal-discuss] Assertion of Minkowski_sum_3, ZHAO Junqiao \(John\), 05/29/2011
Archive powered by MHonArc 2.6.16.