Voronoi with polyline boundary

Hi,

I'm quite new to grasshopper and am trying to set up a Voronoi with a non-rectangular polyline boundary (trapezium). Has anyone got suggestions for how to do this?

Thanks!