Graham's Scan in OF

Is anyone aware of something similar to Graham’s Scan in OF? I basically want to take a set of unordered points (like fingers a touch screen) and create a shape out of it

Seems like it would be pretty simple to implement but I am wondering if there is something in core that I would be duplicating.

java demo
http://www.cs.princeton.edu/courses/archive/spr09/cos226/demo/ah/GrahamScan.html

c++ version
http://www.chrisharrison.net/projects/convexHull/index.html

Made a little addon from the above c++ version
https://github.com/jvcleave/ofxGrahamsScan

could one feed all the points in to a cv::Mat and use opencv’s convexhull function?

Yeah - I was going to go that route as it is a lot like a CountourFinder but I was trying to stay out of bitmap operations/require OpenCV