Interface PositionEquality

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <P extends Position>
      boolean
      equals​(double[] first, double[] second)
      Tests whether the specified coordinates represent the same point.
      <P extends Position>
      boolean
      equals​(P first, P second)
      Tests whether the specified Coordinatess are equal.
      <P extends Position>
      boolean
      equals2D​(P first, P second)
      Tests whether the specified Coordinatess are equal in the base 2D-CoordinateReferenceSystem.
    • Method Detail

      • equals

        <P extends Position> boolean equals​(P first,
                                            P second)
        Tests whether the specified Coordinatess are equal.
        Parameters:
        first - first Point
        second - second Point
        Returns:
        true iff the first is equal to the second Positoin.
      • equals2D

        <P extends Position> boolean equals2D​(P first,
                                              P second)
        Tests whether the specified Coordinatess are equal in the base 2D-CoordinateReferenceSystem.
        Parameters:
        first - first Point
        second - second Point
        Returns:
        true iff the first is equal to the second Position.
      • equals

        <P extends Position> boolean equals​(double[] first,
                                            double[] second)
        Tests whether the specified coordinates represent the same point.
        Parameters:
        first - the first coordinate array
        second - the second coordinate array
        Returns:
        true iff the coordinatess are equal
        Throws:
        IllegalArgumentException - when a NULL-argument is passed, or a coordinate array is passed that is smaller than the coordinate dimensions of its corresponding Position Reference System.