Class StreamingGeometrySimplifier.PointError

java.lang.Object
org.elasticsearch.geometry.simplify.StreamingGeometrySimplifier.PointError
All Implemented Interfaces:
Comparable<StreamingGeometrySimplifier.PointError>, SimplificationErrorCalculator.PointLike
Enclosing class:
StreamingGeometrySimplifier<T extends Geometry>

public static class StreamingGeometrySimplifier.PointError extends Object implements SimplificationErrorCalculator.PointLike, Comparable<StreamingGeometrySimplifier.PointError>
Each point on the geometry has an error estimate, which is a measure of how much error would be introduced to the geometry should this point be removed from the geometry. This is a measure of how far from the line connecting the previous and next points, this geometry lies. If it is on that line, the error would be zero, since removing the point does not change the geometry.