0
votes
2answers
21 views

Rotate and translate a line so that it passes through two given points

I have 2 point and a line segment in 2d space. The line only rotates and translates using its mid point. How do I calculate the translation and rotation required for the line to be touching the 2 ...
1
vote
2answers
45 views

Derive a quaternion from three axis

My problem originates from some code that I'm writing to parse an obscure file-type in which a geometric entity is defined in it's own 'local space', and a rotation and translation are provided to ...
2
votes
0answers
63 views

Rotating a cube about an axis through opposite vertices

I have a cube made using CSS transforms that I'm trying to animate rotating about an axis going through 2 opposite vertices. What I have: Initial cube: ...
0
votes
0answers
20 views

Rotation of point with infinite child objects. (Chain rotation)

More of a thought experiment here, knowledge for knowledges sake. Let's say you can create infinite points that rotate smoothly and at the same speed as each other through a full revolution - let's ...
0
votes
0answers
42 views

Angular displacement/speed of a rotating sphere from 3d points

I have 3d points on the surface of a unit sphere that describe every minute its rotation. I want to know angular velocity of this sphere. The sphere center is fixed and the axis of rotation can change ...
1
vote
1answer
23 views

Given an axis of rotation and an angle, work out the rotation angles around x,y,z axis

I want to convert from one 3D rotation convention to another. The first convention has an axis of rotation, $\boldsymbol{r}$ and an angle $\theta_r$ to rotate about this axis. The second convention ...
0
votes
1answer
31 views

Euler angles for mapping three points on a sphere to three other

Let $\mathbf{a}$, $\mathbf{b}$, $\mathbf{c}$ be points on the unitary sphere, so that $\|\mathbf{a}\| = \| \mathbf{b} \| = \| \mathbf{c} \| = 1$. Let $\mathbf{a'}$, $\mathbf{b'}$, $\mathbf{c'}$ be ...
2
votes
1answer
24 views

proof for euler-rodrigues formula - matrix form

I need for a matrix representation. Exactly I want to know how to get the Euler-Rodrigues formula in a matrix form like here. Thanks!
1
vote
1answer
97 views

Jacobian of exponential mapping in SO3/SE3

Following this post Jacobian matrix of the Rodrigues' formula (exponential map) What if I really need the Jacobian of the exponential mapping function in $\omega \neq 0$? Basically, I want to ...
0
votes
1answer
26 views

Multiplication with vectors.

Well, I'm not quite sure if I chose right terms for my problem but I will give it a chance. Here, I have some tasks and examples ( http://www.mif.vu.lt/matinf/asm/gr/p12.pdf ). On the bottom of the ...
1
vote
2answers
106 views

How to rotate a plane in 3-D using standard form?

I have a set of points $N = \{n_1, n_2, ...\}$ on a plane $z = 0$. And I have another set of points $M = \{m_1, m_2, ...\}$ on plane $ax + by + cz + d = 0$. $|N| = |M|$ $\forall n_i, n_j \in N$ and ...
0
votes
0answers
21 views

Rotating by the pivot point and store the result as rotation by the (0,0,0) + translation.

I have an object in 3D space, but I guess that problem is dimension-independent - you can assume it's 2D as well. I have an object (box) - I store only its ...
1
vote
0answers
124 views

Transform a vector to global frame and ignore rotation about one axis or Full tilt compensated magnetometer

Good day everyone. I would like to lock the rotation about one specified axis. For example, let`s imagine that we have a quaternion which desribes the orientation of our rigid body relative to the ...
1
vote
2answers
59 views

Rotate $z = 0$ plane in 3D

I have 100 points on $z=0$ plane. I want to rotate those points, such that they lie on any plane $P(a,b,c,d)$, preserving distances. Hence, I need a rotation matrix. For instance, if my points are ...
0
votes
0answers
28 views

How do I do the math necessary to make these five matrices multiplied together equal the result shown?

I'm currently studying the math involved with rotating vertices around an arbitrary axis in 3D space. For this, I have found the following page to be very helpful: ...
-1
votes
1answer
97 views

How to draw arrows by rotating lines in 3d space?

I am trying to figure out direction vectors of the arrowheads of an arrow. Basically I'm given a normalized direction vector ...
0
votes
1answer
47 views

How do I multiple these matrices together?

As a personal brain exercise, I've recently been trying to work out the math involved with rotating vertices around an arbitrary axis in 3D space. To do so, I've been relying very heavily on the ...
0
votes
2answers
38 views

How do I calculate the inverse of these matrices?

In learning how to rotate vertices about an arbitrary axis in 3D space, I came across the following matrices, which I need to calculate the inverse of to properly "undo" any rotation caused by them: ...
0
votes
1answer
56 views

rotation matrix to axis angle

from wikipedia the above rotation matrix has a rotation of -74 degrees. What does it mean "around the axis (−1⁄3,2⁄3,2⁄3)"? How can I determine how many degrees is rotated on X axis, Y axis and Z ...
0
votes
0answers
47 views

Quarternions from MPU and circumference of circles

First I should mention that my math skills are super basic. I do not understand formulas but I do understand pseudo code, C, C++, and other programming languages. I've been working on a electronics ...
0
votes
1answer
53 views

How to rotate a 3d vector to be parallel to another 3d vector using quaternions?

I have a vector (a,b,c) and another vector (d,e,f). I'm trying to rotate (a,b,c) so its parallel to (d,e,f) using quaternions. I need help understanding how I would do this. I have so far that a ...
0
votes
1answer
42 views

Find vector rotated on 3D plane

I don't have access to a computer so I can't give pictures but I will try to make this easy to visualize. Suppose I have a vector $n$. I will now draw a plane normal to this vector that and have that ...
0
votes
0answers
76 views

Converting Euler Angle z-y'-x'' sequence to heading

I'm trying to convert a set of Euler Angles to a heading $(0-360)$ degrees. The Euler Angles use the $\ x-y'-x''$ sequence headings, using $\ \psi, \theta, \phi$ as the rotation angles, respectively. ...
1
vote
0answers
123 views

Find the linear (vertical) acceleration using a three axis accelerometer.

I genuinely apologise for what may be a poorly worded question. I'm extremely tired but have a ridiculous huge and important project due in on Monday for my degree. Thank you in advance for any help ...
1
vote
1answer
78 views

Rotation formalisms in three dimensions

I'm little bit confused. The Rotations are described by various means Direction Cosines Matrix (DCM); Euler Angles; Euler Axis/Angle; Quaternion. What is the difference between them. How I can ...
0
votes
1answer
57 views

Why this 3D rotation matrix doesn't work?

I'm trying to rotate those three red points around x axis about pi/4. and I used this rotate matrix from WiKiPedia. rotation matrix = [[ 1 0 0 ], [ 0 ...
0
votes
0answers
39 views

Normalization of Euler angle data

I have head motion data for several speakers. Because not every speaker sat in the exact same position during recording I have to normalize the data. One option to do this, I think, would be to ...
1
vote
1answer
679 views

Finding Rotation Axis and Angle to Align Two “Oriented Vectors”

In general, one can align a 3D vector $\vec A$ to another 3D vector $\vec B$ by rotating $\vec A$ around the axis $\| \vec A \times \vec B \|$ by the angle $\arccos{(\| \vec A \| \cdot \| \vec B ...
0
votes
0answers
47 views

Euler rotation and manipulation of one angle

I've got an acceleration in a certain orientation (which I call local orientation). I known the Euler angles with respect to the global orientation (stored in orientation matrix). Calculating the ...
2
votes
3answers
45 views

rotations in 3d space

When looking at rotations in 3d space, does specifying two points (say point A is rotated to point B) determine the whole rotation, or is there a degree of freedom left?
0
votes
1answer
146 views

Find rotation matrix of vector rotated around a point

Given a unit vector $a$ and a point $(x,y,z)$ if I rotate $a$ around $(x,y,z)$ I get the vector $b$. My question is, given $a$, $b$ and $(x,y,z)$ can I recover the rotation matrix used to rotate $a$ ...
0
votes
2answers
185 views

Find Rotation Matrix to rotate axes and move coordinates of point from P0 to P1

I have a point $P_0 = [x_0, y_0, z_0]'$. I want to rotate the axes so that the new coordinates will be $P_1 = [x_1, y_1, z_1]'$. Define the following rotation matrices: $R_x = \left[\matrix{ ...
2
votes
0answers
55 views

Find an SO(3) matrix which satisfies some linear constraints

I have the following optimization problem: $\displaystyle \min_R \sum_{i=1}^n (X_i^T R Y_i)^2$ where $R \in \text{SO}(3)$, i.e. is a 3x3 rotation matrix, and $X_i,Y_i \in \mathbb{R}^3$. If $n \le ...
0
votes
0answers
33 views

Finding the coordinates of the top and bottom circles of a moving and rotating cylinder in 3D

I have a cylinder that is moving and rotating in a 3D space. I need to calculate the coordinates of the center of the cylinder's top and bottom circles. Here's the information I have : I have at the ...
0
votes
0answers
20 views

Resolving bearings for tilted structure (vector rotations)

I am trying to find a neat solution to resolving bearings for a tilted structure. For example, if I know that a hub is $268.74^{\circ}$ and offset ($X = -3.542 $m, $Y = -1.857$ m, $Z = 2.013$m) with ...
0
votes
0answers
170 views

Converting a 3x3 matrix to euler angles in various rotation orders

So let's say I have a 3x3 orientation matrix set up like: a b c d e f g h i which I have generated from euler angles in a left-handed, Y-vertical system. ...
1
vote
2answers
593 views

Rotation in 3D (coordinate system transformation)

How do I rotate a point around point [0,0,0] in 3D. In picture I draw specific situation for illustration. At first I know point G[x,y,z] and I will tranfer it on axiz Z, where distance to center is ...
0
votes
0answers
694 views

How do I calculate roll, pitch, yaw from a unit vector?

I am provided a unit vector giving a direction in x, y, z coordinates, and that the roll is defined as about the x axis, pitch around y, yaw around z. I'm trying to determine how to calculate roll, ...
0
votes
1answer
73 views

$n$-dimensional rotation along a 2D arbitrary plane

Given two vectors in $\mathbb{R}^n$, $v_0$ and $v_1$, which define a plane including the origin a rotation along that plane can be defined from $v_0$ to $v_1$. I know the formula for rotation within ...
0
votes
0answers
216 views

Determining rotation axis for matrix with complex eigenvectors.

I'm using Zhang's method to determine the 3D camera parameters from a set of images. When calculating extrinsic parameters for the third image, I get the following matrix. $$ \begin{vmatrix} ...
0
votes
0answers
35 views

Euler rotations from orthonormal vectors

Summary: Given a set of orthonormal 3D vectors, and a defined rotation order (YXZ), how can I derive the three Euler rotations that will rotate the axes to match these vectors? Details In a 3D ...
3
votes
0answers
190 views

3D Rotation Decomposition?

I have a 3D local xyz coordinate system placed in a world ENU (East-North-Up) coordinate system. The current relationship ...
0
votes
1answer
276 views

How do I determine the Tait-Bryan angles (yaw, pitch, and roll) of polyhedron faces to its center?

I'm modeling a pentagonal hexecontrahedron by placing faces and then rotating them. I've determined the center of each face by using the Cartesian coordinates of the vertices of its dual polyhedron ...
1
vote
0answers
70 views

Determining pose of an object in 3d space

Given a 3D model of an object centred at the origin, if I place a camera at position (x,y,z) and make it face the origin, from the image rendered the object appears ...
0
votes
0answers
304 views

calculate out-of-plane and in-plane rotation from virtual camera position.

I am trying to reproduce some work from an author which generates multiple views of a 3D object under different projections and labels each view with a 3D pose. The author states that they "place a ...
0
votes
1answer
175 views

3D Road - Rotate around 3d curve

First of all, I'm not sure whether to post this on stackoverflow or here, but since there's some mathematics needed here (especially at the end of this question) I posted it here. I'm given a ...
1
vote
1answer
132 views

Getting a 3d linear equation knowing the rotation of an object

I have an object, a simple rectangle I rotate it by a certain degree using Euler Angles, in this case around Z, to make it easy lets say it's 45 degrees. Right now I want the yellow: Y-Axis linear ...
0
votes
2answers
150 views

Given a 3D directional vector, and a 3D point, is it possible to calculate a 'rotation around the vector' for other points?

Sorry if the title if confusing. Essentially I have a vertex and a vector (the normal of a plane which the vertex sits on), and would like to be able to calculate the 'angle' along the plane of any ...
1
vote
1answer
35 views

Calculating transformation from origin to point

I have an icosahedron of radius $x$ with 12 vertices at known coordinates. If I have a point at $(0,0,x)$ where $x > 0$ and a vertex of this icosahedron at $(a,b,c)$ how can I find the rotation ...
2
votes
1answer
127 views

Algorithm for finding orientation of each face on a polyhedron?

I am working on making a dice rolling application and I need to find out how far in each of the three dimensions I must rotate each of the dice to make the correct side face the camera so the user can ...