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

Line.revert() is imprecise

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2
    • 3.2
    • None
    • None

    Description

      Line.revert() only maintains ~10 digits for the direction. This becomes an issue when the line's position is evaluated far from the origin. A simple fix would be to use Vector3D.negate() for the direction.

      Also, is there a reason why Line is not immutable? It is just comprised of two vectors.

      Attachments

        Activity

          People

            Unassigned Unassigned
            evanward1 Evan Ward
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified