Moved point in path function to Geometry.