[GeoLib::Polyline] Compute values only when needed.
Merge pull request #30 from TomFischer/add-function-of-space

A very small improvement