Uploaded image for project: 'Commons Geometry'
  1. Commons Geometry
  2. GEOMETRY-41

Vector Precision Equals

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • None
    • None

    Description

      The Vector?D classes should expose equals method overloads that allow a precision object from GEOMETRY-11 to be passed in to determine equality. I propose adding the following two methods:
      1. boolean equals(Vector?D vec, DoublePrecisionContext precision)
      2. boolean isZero(DoublePrecisionContext precision)

       

      Pull request: https://github.com/apache/commons-geometry/pull/24

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mattjuntunen Matt Juntunen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m