You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Evan Ward (JIRA)" <ji...@apache.org> on 2013/03/05 17:11:16 UTC
[jira] [Created] (MATH-938) Line.revert() is imprecise
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