Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Nef_3 Question

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Nef_3 Question


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] Nef_3 Question
  • Date: Mon, 11 May 2009 15:57:30 -0400 (EDT)
  • Importance: Normal


Hi Peter,

>In the n-ary union operation that I offer, which tries to use
> binary operations in a clever way,
> I keep only few of the Nef polyhedra in memory.

I can only assume you're not referring to Nef_nary_union_3, which appears
to requires all the source polyhedrons to be in memory as well as the
incremental union at each step. Maybe I don't understand the memory
implications here?

> If you keep them all, the
> operation will be clearly slower.

I'm not sure what the approaches are that you're comparing.

> I actually also thought of performing as many non-intersecting unions
> first, but I only found
> few time to experiment with that. The code for non-intersecting unions
> exists somewhere on my hard-drive.

Is this some way to perform "cheap" unions of nefs which are guaranteed
not to intersect?

> In case of n-ary intersections, the chances should be higher to do
> something more efficient than consecutive
> binary operations, but I don't have it.

Surely I have a poor understanding of the workings of Nef3, but can't nary
operations or even complex boolean operations be performed within the
framework of the "overlay, selection, simplification" pipeline? Couldn't
the overlay of N polyhedrons be computed, and then an arbitrarily complex
boolean expression evaluated for each feature? At this point it seems like
simplification would work in the same way as after a binary operation.

I guess that my assumption here is that what's costing a lot in my
chain-union scenario is the continual ground-up recomputation of external
structure (and perhaps some other spatial data structures) for the
cumulative nef, and that this could be avoided by overlaying everything at
once.

Best regards,
Fred





Archive powered by MHonArc 2.6.16.

Top of Page