Skip to main content
Question

Blocked Looping stuck in a continuous loop

  • May 17, 2021
  • 1 reply
  • 24 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

canerakin
Contributor
Forum|alt.badge.img+6
  • Contributor
  • 51 replies
  • May 18, 2021

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.