Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1897

Distance between point and itself is not zero

    XMLWordPrintable

    Details

      Description

      I'm trying to use CoordinateUtils.distance to calculate distance between two points. However, if I apply it to distance between some point and itself, I get 9.493073054631141E-5 and not zero. I think it should be zero - so either the formula has an accuracy problem or maybe it should have special case to capture it.

        Attachments

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            stasmalyshev stasmalyshev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: