[nbos] FREQ: Combining Polygons
keith.davies-at-kjdavies.org
Sun Feb 17th, 2008
Hi Ed,

something I've run into sometimes is wanting different ways to combine
polygons.

Right now we have

. Add (union)
. Subtract (um... dunno. A and not B)
. XOR (A and not B or B and not A)

Can you add

. Intersect (A and B)

?


I know it can be faked as

((A or B) xor (A xor B)) (Subtract(Add(A,B),Xor(A,B)))

but that makes for a lot of extra polygons, and a lot more work.


Thanks,
Keith
--
Keith Davies "History is made by stupid people
keith.davies-at-kjdavies.org "Clever people wouldn't even try
keith.davies-at-gmail.com "If you want a place in the history books
http://www.kjdavies.org/ "Then do something dumb before you die."
-- The Arrogant Worms
_______________________________________________
Nbossoftware mailing list


Copyright © 2003-2007, NBOS Software. All rights reserved. 'Fractal Mapper', 'ScreenMonkey', 'Character Sketcher', 'Inspiration Pad', 'Fractal World Explorer', 'Goblin API', 'AstroSynthesis' are trademarks of NBOS Software. 'Dwarven Beserker' art by V. Shane.
Member contributed resources