[ 
https://issues.apache.org/jira/browse/NUMBERS-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714651#comment-16714651
 ] 

Matt Juntunen commented on NUMBERS-80:
--------------------------------------

Yes, composition should work just fine and would avoid the VALJO inheritance 
issue. I'll work in that direction.

> Quaternion Updates for commons-geometry
> ---------------------------------------
>
>                 Key: NUMBERS-80
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-80
>             Project: Commons Numbers
>          Issue Type: Task
>            Reporter: Matt Juntunen
>            Priority: Blocker
>
> The {{Quaternion}} class should be updated in order to allow the 
> {{QuaternionRotation}} class from commons-geometry to extend it. The 
> following updates are required:
> - Remove {{final}} class modifier.
> - Make constructor protected.
> In addition, it would be good to switch the names of the components from 
> {{q0, q1, q2, q3}} to {{w, x, y, z}}. The former assumes that the convention 
> that the scalar component is always listed first, which is not the case in 
> some domains. The latter convention is not ambiguous.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to