I am trying to find the indices of all points of a linestring that are within a geometry. In the beginning, I split the linestring into segments and check if they intersect