SpatialGrid: completed lineSegmentQuery().