What's the best way to compare curves in rhino script?

I have multiple duplicates of curves and I need to sort through them and remove the true duplicates. Some curves will have opposite direction.

Currently I’m comparing Pt2Str of curve midpoints and their lengths. Kinda rough, but does the job.

1 Like

N/m Found Rhino.CompareGeometry.

Have to run Rhino.SimplifyCurve along with it though.