[jira] [Closed] (MATH-938) Line.revert() is imprecise

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (MATH-938) Line.revert() is imprecise

ASF GitHub Bot (Jira)

     [ https://issues.apache.org/jira/browse/MATH-938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe closed MATH-938.
------------------------------


Closing issue as version 3.2 has been released on 2013-04-06.
               

> 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
>             Fix For: 3.2
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> 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