com.vividsolutions.jts.util.NumberUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JTSplus Show documentation
Show all versions of JTSplus Show documentation
JTS Topology Suite 1.14 with additional functions for GeoSpark
package com.vividsolutions.jts.util;
public class NumberUtil
{
public static boolean equalsWithTolerance(double x1, double x2, double tolerance)
{
return Math.abs(x1 - x2) <= tolerance;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy