Skip to main content
Hi All,

 

 

I want to validate if parts of polygons match or not. I used the workbench below

 

 

 

 

 

However, when I check the results, some parts do not match:

 

 

 

 

 

The purple line should continue to the above parts where the red polygons is drawn in the pic below.

 

 

 

 

What happened here? Why the purple line stops in the right corner?

 

 

MAVA
Hi,

 

 

It might be tolerance / precision issue. Any particular reason for not using the Matcher?

 

 

David
maybe these missing bits have a larger _polygons like (>1,0)? Output by tester_8 Failed. (indicating there are more interactions, more polygons involved)

 

 

Or they actually do not match, don't touch at border. That would be output by Stringsearcher failed (as _polygons = <missing>)

 

 
Hi Gio,

 

 

Now I get the match I want after >1,0. Thank you.

 

 


Hi MAVA,

 

 

You already have the stringsearcher for the first value.

 

 

You can use tester to test for >1

 

 

If u want both values you can make stringsearcher look for regexp = (\\d),(\\d)

 

And expose matched_parts{0} and matched_parts{1}

 

You can expose maually or by rightclicking match_parts{} on expanded Matched on the stringsearcher.

 

You can then use test on both parts.
Hi Gio,

 

 

The matched_parts{0} and matched_parts{1} give far too less match results. The tester "> 1 give or = 1"and matched_parts{0} give the best results.

Reply