Improve distance (issue : Invalid Line make distance function to crash). Allows lineString.numSegment() on single point LineString (returns 0) and replace exception in distance by infinite value
Improve distance3D (issue : Invalid Line make distance function to crash)
distance/distance3D : check and comment empty geometry assertions
Merge pull request #14 from mborne/master

Issue 13 : Invalid Line make distance function to crash