private TrajectoryPoint[] samplePoints(TrajectoryPoint[] srcPoints) { var interpolated = new LinearInterpolation(srcPoints); return(LinearInterpolation.getPointsByDistance(interpolated, pointDistance)); }
private TrajectoryPoint[] samplePoints(TrajectoryPoint[] srcPoints) { var interpolated = new LinearInterpolation(srcPoints); return(LinearInterpolation.getPointsByDistance(interpolated, pointDistance)); }