I’ve added a SimpleArrayPolyline helper class to the Moose project. Let me know if this helps.
SimpleArrayPolyline
– D