How to get centroid of open curve?

There was a discussion about this in this thread… --Mitch