Subject: CGAL users discussion list
List archive
- From: Matthias Baas <>
- To:
- Subject: [cgal-discuss] Nef polyhedra: CSG with "hollow" cube?
- Date: Tue, 15 Jun 2010 18:43:17 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PANVUG6+BxSnVp/fuwn6OiUpeDyVjYdHMZROs4AZHeWGh0uUd65QvgYLWlnOpYBuZD ELVXrZGKOVkrRZkR8erSYNZZ31C/Sk4QT9NQVYisubnBQ8R0zYjrlpAv80IH69VNPEgl syQC67ke+C6Dtkv+QOwywD0lpiFX8YO85i2GM=
Hi,
recently I was playing around with doing CSG operations with Nef
polyhedra which, after some initial hiccups, works quite well so far.
But there's one case where I don't get the results that I would have
expected and that's when I do a CSG operation with an object that is
"hollow". I was creating a cube and a slightly smaller cube whose
faces have a different orientation and merged the two (or think of
taking the difference of a solid cube and a slightly smaller solid
cube). My expectation would have been that this describes a hollow
cube but with walls that have some thickness. But when I do an
intersection with another solid cube that partially overlaps the
hollow cube then the result is as if both cubes were solid whereas I
would have expected to just get a part of the walls.
But when I create a little hole somewhere in that hollow cube (so that
from the outside you could get into the inside just by walking along
the surface), then the above CSG operation works as expected.
Now my question just is, is this hollow cube representation a valid
input for the CSG algorithm which is supposed to work or is this an
invalid object? (the is_valid() method on the Nef polyhedron returned
true though)
Thanks,
- Matthias -
- [cgal-discuss] Nef polyhedra: CSG with "hollow" cube?, Matthias Baas, 06/15/2010
Archive powered by MHonArc 2.6.16.