Maximal distance control in CrossSectionAnalysis module

Hi to everyone!

Today, working with the module CrossSectionAnalysis I found a particular behavior that maybe causes some troubles.

The point in the box generates his CS area so far away, when it’s also obvious that this point is outside the geometry. As far as I understand about CSA module, the function will try to select the section closer to the point in case than more than one section intersects with the plane. But in this case only one section is computed, so the result here says that the vessel has a fake CS area.

My point of view: There is a way to limit/control the distance of selection CS, in order to avoid CS that are so far away the point where we are computing? For example, in the image, select only CS areas that are closer than the blue circle (radius = 5mm)

Thanks a lot!

But the point in the box is clearly outside of the segment. It’s this input that should be fixed. In general, If algorithms/workflows start accounting for corner conditions, there’ll be no end to their updates. CSA is indeed behaving as expected in this case too.

Not really, because the surface is cut by vtkCutter which has as input an infinite plane. I was looking for a way to limit that too but did not find one. Even if there is such a way, it would be hard to define this limit for automation.