How to judge a curve model obtained with vtkplanecut or vtkcutter is closed?

How to judge a curve model obtained with vtkplanecut or vtkcutter is closed?

image

@lassoan@Juicy@jamesobutler @jcfr @pieper@ jmhuie @manjula @szhang

image

I try to use the vtkFeatureEdges, but got the wrong result👆🏻, what’s wrong?

One solution is to traverse the curve and check if you arrive to the starting point

but howto traverse the model to the curve?

I trasverse the model to the curve, and IsA('vtkMRMLOpenCurveNode') , but got the wrong result too👇🏻…

:cold_sweat: :imp:

@lassoan@Juicy@jamesobutler @jcfr @pieper@ jmhuie @manjula @szhang