openlayers/ol3 — pull request #1311 by ahocevar (2013-11-23 11:09:40+00:00)
Title: Segment distance calculation fails when modifying points

By providing a segment even for points, we have less distinction
points between points and other geometry types, and are able to
do the segment distance calculation also for points.