Documentation of 'math.geom2d.GeometricObject2D' Java class
GeometricObject2D
math.geom2d

Interface GeometricObject2D

    • Method Detail

      • almostEquals

        boolean almostEquals(GeometricObject2D obj,
                             double eps)
        Checks if the two objects are similar up to a given threshold value. This method can be used to compare the results of geometric computations, that introduce errors due to numerical computations.
        Parameters:
        obj - the object to compare
        eps - a threshold value, for example the minimal coordinate difference
        Returns:
        true if both object have the same value up to the threshold

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.