Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 85471 invoked from network); 23 Mar 2011 20:03:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2011 20:03:46 -0000 Received: (qmail 48998 invoked by uid 500); 23 Mar 2011 20:03:46 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 48910 invoked by uid 500); 23 Mar 2011 20:03:46 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 48706 invoked by uid 99); 23 Mar 2011 20:03:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 20:03:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 20:03:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5DF894A61C for ; Wed, 23 Mar 2011 20:03:08 +0000 (UTC) Date: Wed, 23 Mar 2011 20:03:08 +0000 (UTC) From: "Luc Maisonobe (JIRA)" To: issues@commons.apache.org Message-ID: <1823469001.6975.1300910588381.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (MATH-363) please clarify quaternion conventions in org.apache.commons.math.geometry.Rotation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luc Maisonobe closed MATH-363. ------------------------------ Closing issue as it was included in version 2.2, which has been released > please clarify quaternion conventions in org.apache.commons.math.geometry.Rotation > ---------------------------------------------------------------------------------- > > Key: MATH-363 > URL: https://issues.apache.org/jira/browse/MATH-363 > Project: Commons Math > Issue Type: Improvement > Affects Versions: 2.0 > Environment: all > Reporter: Albert Huang > Priority: Minor > > Please clarify which quaternion convention is used in the Rotation documentation, and provide constructor methods to use alternate quaternion conventions. > For example, the computer graphics community has standardized on representing a rotation of angle theta about the unit vector (i, j, k) with the quaternion > { cos(theta/2), i * sin(theta/2), j * sin(theta/2), k * sin(theta/2) } > e.g., any introductory computer graphics textbook referring to quaternions will describe them in this convention. This is also the convention appearing on Mathworld, Wikipedia, etc. > The convention in org.apache.commons.math.geometry.Rotation instead appears to be > { cos(-theta/2), i * sin(-theta/2), j * sin(-theta/2), k * sin(-theta/2) } > Since I'm not likely to convince you to switch conventions, please at least document the convention and provide ways to convert from the alternate (this should be trivial?) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira