private TrajectoryPoint[] samplePoints(TrajectoryPoint[] srcPoints)
        {
            var interpolated = new LinearInterpolation(srcPoints);

            return(LinearInterpolation.getPointsByDistance(interpolated, pointDistance));
        }