Hi Gilles,

I removed the RotationConvention enum from commons-geometry because it was more 
confusing than useful. Instead, I specified [1] that commons-geometry uses 
"active rotations" by convention (equivalent to 
RotationConvention.VECTOR_OPERATOR). If users want to use the equivalent of 
RotationConvention.FRAME_TRANSFORM, they simply need to negate the angle used 
as input when creating the rotation quaternions. This is actually all that the 
previous commons-math Rotation class did with this enum.

Regards,
Matt J

[1] 
https://github.com/apache/commons-geometry/blob/master/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/rotation/package-info.java

________________________________
From: Gilles Sadowski <gillese...@gmail.com>
Sent: Monday, April 6, 2020 1:24 PM
To: Commons Developers List <dev@commons.apache.org>
Subject: [Geometry][Math] Equivalent of CM's "RotationConvention"

Hello.

Is there a way to replace an argument of CM's type
"RotationConvention"[1] with a type from [Geometry]?

Thanks,
Gilles

[1] 
https://gitbox.apache.org/repos/asf?p=commons-math.git;a=blob;f=src/main/java/org/apache/commons/math4/geometry/euclidean/threed/RotationConvention.java;h=a80fe9b553d023d4054fd17f18f02b64ca7cdd34;hb=HEAD

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to