Simplify-Java (by hgoebl) Issue With Reduced Points List Always Size 2
问题 I am trying to implement the reduction algorithim from https://github.com/hgoebl/simplify-java I have looked through his test code and tried to come up with what I think is the right logic. I am taking a list of Location objects, converting them to a Point , running the reduction algorithm, then converting the reduced points back into a list of Location objects. The problem is here: float[][] simplified = simplify.simplify(points2D, 10000.0f, true); It always comes out with a size of 2.