Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1284

Vector is-not-a Point

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 4.0
    • Labels:
      None

      Description

      The class hierarchy for geometry claims that Vector is-a Point: https://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/geometry/Point.html

      This is mathematically incorrect, see e.g. http://math.stackexchange.com/a/645827

      Just because they share the same numerical representation, Point and Vector shouldn't be crammed into a common class hierarchy.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raydecampo Raymond DeCampo
                Reporter:
                roman.werpachowski Roman Werpachowski
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: