Question

Blocked Looping stuck in a continuous loop

  • 17 May 2021
  • 1 reply
  • 2 views

I have a custom transformer to fit rectangles into a polygon. The inputs are the polygon, and the rectangles. They go into a spatial filter which checks for "contains within", failed features are rotated and looped back to the candidate rectangles port to see if they will pass the "contains" filter again. I set the "maximum number of iterations" parameter under advanced to equal 4. The issue is that the transformer will just spin the failed rectangles infinitely instead of just 4 times.


1 reply

Badge +4

Have you check the link below?

https://www.safe.com/blog/2016/05/point-cloud-power/

 

There is an example dataset that you can download.

Reply