mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-28 20:17:42 +01:00
Fixing DouglasPeuckerAlgorithm Typo
This commit is contained in:
parent
4f63640c97
commit
ce8c6bb169
@ -7,7 +7,7 @@ package main.java.com.djrapitops.plan.ui.html.graphs;
|
||||
|
||||
import com.djrapitops.plugin.api.TimeAmount;
|
||||
import com.djrapitops.plugin.utilities.Verify;
|
||||
import main.java.com.djrapitops.plan.utilities.analysis.DouglasPeckerAlgorithm;
|
||||
import main.java.com.djrapitops.plan.utilities.analysis.DouglasPeuckerAlgorithm;
|
||||
import main.java.com.djrapitops.plan.utilities.analysis.Point;
|
||||
import main.java.com.djrapitops.plan.utilities.comparators.PointComparator;
|
||||
|
||||
@ -32,7 +32,7 @@ public class ScatterGraphCreator {
|
||||
arrayBuilder.append("[");
|
||||
|
||||
if (reducePoints) {
|
||||
points = DouglasPeckerAlgorithm.reducePoints(points, 0);
|
||||
points = DouglasPeuckerAlgorithm.reducePoints(points, 0);
|
||||
}
|
||||
|
||||
if (reduceGapTriangles) {
|
||||
|
@ -5,13 +5,13 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Ramer-Douglas-Pecker Point Reduction Algorithm for reducing points from
|
||||
* Ramer-Douglas-Peucker Point Reduction Algorithm for reducing points from
|
||||
* graphs.
|
||||
*
|
||||
* @author Rsl1122
|
||||
* @since 3.5.2
|
||||
*/
|
||||
public class DouglasPeckerAlgorithm {
|
||||
public class DouglasPeuckerAlgorithm {
|
||||
|
||||
public static List<Point> reducePoints(List<Point> points, double epsilon) {
|
||||
if (points.isEmpty()) {
|
Loading…
Reference in New Issue
Block a user