AnsweredAssumed Answered

Weird CGA rule: How does this work?

Question asked by philippe.desrosiers on Apr 7, 2016
Latest reply on Apr 11, 2016 by CLau-esristaff

Poking around in the "Pompeii" example , I found this line in pompeiiStreets.cga (line 55):

split(x){ stoneLength*rand(0.8,1.2): Stone | RollingStones }

I'm pretty new to CGA in general, but the docs on the split operation don't mention the possibility of a successor block without a size (as in "RollingStones" above). What will happen when this line runs? Is "RollingStones" just the shape successor for "all the remaining geometry" after the split?

Outcomes