You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles Sadowski (Jira)" <ji...@apache.org> on 2019/09/27 14:45:00 UTC
[jira] [Resolved] (GEOMETRY-46) Additional UnitVector methods
[ https://issues.apache.org/jira/browse/GEOMETRY-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles Sadowski resolved GEOMETRY-46.
-------------------------------------
Resolution: Fixed
Commit a5a45163806c46e41ddc0d407c6e9436eeba7fad ("master" branch).
> Additional UnitVector methods
> -----------------------------
>
> Key: GEOMETRY-46
> URL: https://issues.apache.org/jira/browse/GEOMETRY-46
> Project: Apache Commons Geometry
> Issue Type: Improvement
> Reporter: Matt Juntunen
> Priority: Minor
> Labels: easyfix, pull-request-available, starter
> Attachments: GEOMETRY-46.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The following methods should be overridden in theĀ {{UnitVector}} private subclasses of the {{Vector?D}} classes:
> * {{normSq}} -- should return {{1}} for consistency with {{norm}}
> * {{negate}} -- should be overridden to also return a {{UnitVector}} instance instead of a regular {{Vector?D}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)