[
https://issues.apache.org/jira/browse/MATH-938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luc Maisonobe resolved MATH-938.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.2
Fixed in subversion repository as of r1453218.
Line should be immutable, and in fact we want to make all of the
Hyperplane/SubHyperplane/Embedding/BSPTree instances immutable, but this is a
large incompatible change. So it will occur only at a major release (hopefully
4.0).
Thanks for reporting the issue.
> 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