commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evan Ward (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-938) Line.revert() is imprecise
Date Tue, 05 Mar 2013 16:11:16 GMT
Evan Ward created MATH-938:
------------------------------

             Summary: Line.revert() is imprecise
                 Key: MATH-938
                 URL: https://issues.apache.org/jira/browse/MATH-938
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.2
            Reporter: Evan Ward


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message