geom.Path.getClosestPoint example made in Pex. Source code at https://github.com/vorg/pex-examples/tree/master/src/geom.Path.getClosestPoint