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 ...
0
votes
0answers
6 views

Stable equilibrium position of 3d models.

I have 2 models, described by vertices arrays. The aim is to find stable equilibrium position of one of the models upon the other. The algorithm should consider the possibilities of transformation of ...
1
vote
1answer
35 views

Intersection of two lines in 3D

The two points $A=(x_{0},y_{0},z_{0})$ and $B=(x_{1},y_{1},z_{1})$ are given. I want to find the coordiantes of the point $C=(x,y,z) $. The line segments $AC$ and $BC$ make equal angle $\alpha$ with ...
0
votes
1answer
19 views

Oblique projection for which the projection vector is at an angle of 45 degrees

dixit: A special case of oblique projection is called cavalier projection. It is given when the projection vector forms an angle of 45° with the z-axis. This means that: $$(x_p^2+y_p^2)/z_p^2=1$$ My ...
0
votes
1answer
22 views

Translation of basis for a vector space on the specified distance

In the Euclidean space $XYZ$ is a basis $X_1Y_1Z_1$ defined that is specified by the vectors $\overrightarrow {O_1X_1}$, $\overrightarrow {O_1Y_1}$ and $\overrightarrow {O_1Z_1}$. How to calculate ...
1
vote
0answers
35 views

Intersection between 2 lines (3D). This doesn't have a solution does it?

so I was looking through an old exam and this question was given: The teachers answer was the point (9, -9, 21) I tried solving this myself, I got x = x, y = y, but I could not find a point where ...
0
votes
1answer
18 views

What is and what are the use for an “ AINV preconditioner ” or “ SAINV ”?

In an article that I'm reading there is a mention to this "thing" and I absolutely don't know anything about it, for me it could be anything. I noticed that this thing is somehow related to the math ...
1
vote
2answers
71 views

Rotate XYZ frame in 3D space

Given a XYZ frame in 3D space at origin O(0,0,0). And given a plane equation: ...
2
votes
1answer
33 views

How does a measurement error change the volume of a tetrahedron?

Consider that I have a tetrahedron $T$ whose the lengths of edges are $(a,b,c,d,e,f)$. I want to calculate the volume of the tetrahedron by Cayley-Menger Determinant. However, I know that, the ...
0
votes
2answers
38 views

Transformation of the points on a plane

How do I transform a point $(x,y,z)$ on plane $\Pi (ax + by + cz = 0)$ to a point $(x',y',z')$ on plane $\Phi(ax+by+cz+d=0)$? What matrix should I use? Here is a 2-D representation of what I'm ...
1
vote
2answers
37 views

slope of a line in 3D coordinate system

Suppose I have $2$ points in a 3D coordinate space. Say $p_1=(5,5,5)$, $p_2=(1,2,3)$. How do I find the slope of the line joining $p_1$ and $p_2$? After getting the slope (which I assume will be an ...
3
votes
2answers
69 views

Find point in 3D space based on plane and known point

I'm struggling with drawing geometry in 3D spaces via OpenGL. My current task is to find coordinates of point. Assume we have such input data: Points $a$, $b$ and $k$ define a plane. Point $c$ ...
0
votes
2answers
39 views

Projecting 3D Point to Plane

I have a plane defined by the equation $Ax + By + Cz + D = 0$. It does not pass through the origin. I have projected the origin of my global coordinate system onto the plane, so it is at $(a, b, c)$. ...
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
1answer
19 views

Vectors to Matrices in algebraic equations

This question is based off of Dave Eberly's 3D Game Engine Design, 2nd Edition. I am reading it slowly to gain a larger algebraic grasp of 3D graphics, which this book seems to offer. When finding a ...
1
vote
2answers
63 views

Calculating Intersection of Three Spheres Step by Step

How do I calculate the intersection of three spheres step by step? Assume that the spheres are $S_i(c_i, r_i)$ where $i = 1,2,3$, $c_i$ is the center coordinates of $S_i$ and $r_i$ is the radius of ...
1
vote
1answer
41 views

Ellipsoid intersection

Let $E$ be an ellipsoid centered at $p = (x,y,z) \in \mathbb{R}^3$ and let $T:\mathbb{R}^3 \to \mathbb{R}^3 $ be a linear transformation which transforms $E$ to a unit sphere. Let $R$ be the ray $p_0 ...
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
15 views

Collision of two moving lines (3D)

I have two lines / edges moving with linear velocity in timesteps. How do I determine whether the lines collide / intersect in the intervening period? My lines are (P1,Q1) and (P2,Q2). The endpoints ...
0
votes
1answer
35 views

Calculation of an average plane without using a covariance matrix

I need to calculate the normal to an average plane using the positions of >3 points (for 3 points, I know how to do it with a cross-product). My main problem is that it needs to be a simple method ...
1
vote
2answers
101 views

Finding a normal to an ellipsoid

Let $E$ be an ellipsoid centered at $v = (x,y,z) \in \mathbb{R}^3$ and let $T:\mathbb{R}^3 \to \mathbb{R}^3 $ be a linear transformation which transforms $E$ to a sphere $S$ with a radius of length ...
2
votes
1answer
37 views

Collinear points in 3dimension

Given three $3D$ points: $A,B$ and $C$, what is the procedure to check if they are collinear? In general, given $n$ points in $m$-dimension, how should one find out, if these $n$-points defines a ...
2
votes
2answers
40 views

Finding an equation of a plane a certain distance from a given plane

I just wanted to know the methodology of how to solve for the equation of a plane that is some distance from some given plane. Thanks. Any help is appreciated
1
vote
1answer
18 views

Make a point orbit another point, given time and a normal.

I am working in 3D space. I am trying to make a solar system model. known variables: center of orbit, C (x,y,z) normal, perpendicular to the orbit, N (x,y,z) radius of orbit, R time, position ...
1
vote
1answer
68 views

texture mapping from a camera image to a 3D surface acquired by a kinect

I have the following problem: A kinect camera capture a 3D surface and save it as a .obj files containing all the positions of the vertices (in the kinect coordinate system). If I take a picture ...
0
votes
1answer
30 views

Linear Algebra: finding specific linear combinations which meet the criteria

Consider any three vectors u,v,w in 3-dimensional space s.t joining the three vectors by straight lines forms a triangle. Under what condition on c,d,e will the combination cu + dv + ew fill the ...
1
vote
1answer
259 views

How to find out if four points are on the same plane, only by using distances?

There is a method called Cayley-Menger determinant in order to find if 3 points are collinear, 4 points are coplanar etc. provided that all the pairwise distances are given. However, in 2-D, there is ...
0
votes
2answers
36 views

Scale a Point onto Plane

I'm trying to find the scale factor that scale a point onto plane in 3D Space. I have the following information: Point on a plane: $a = (x_1,y_1,z_1)$ Plane equation: $P\colon Ax + By + Cz +D =0$; ...
0
votes
0answers
54 views

Solve equation for best fit plane

It was posted by joriki that "Subtract out the centroid, form a 3×N matrix X out of the resulting coordinates and calculate its singular value decomposition. The normal vector of the best-fitting ...
0
votes
2answers
138 views

Find tangent vector to surface given a point on the surface and its normal vector (for a sphere)

I need to know how to find a tangent vector to a point on the surface of a sphere if I am given the point P and the normal vector at that point N. I know that there are many possible tangent vectors ...
3
votes
2answers
122 views

What is (fundamentally) a coordinate system ?

Consider the following construction of vectors and points. Let's start with a vector space, or more specifically a coordinate space $F^N$ over a field $F$ and of $N$ dimensions. The elements of this ...
1
vote
0answers
53 views

3D Animation of object flying straight towards a surface

Lets say we have the following the orthogonal(?) 4x4 matrix, which represents a world space transformation in a right-handed coordinate system. ...
0
votes
0answers
19 views

How to find the values of transformstion and its center/axis? [duplicate]

I have system of two planes. Each plane is defined by three points, so I have their equations. One of these plane is stable, I can't perform any transformation. The second one is modifiable - rotation ...
3
votes
2answers
3k views

Formula to project a vector onto a plane

I have a reference plane formed by 3 points in R3 – A, B & C. I have a 4th point, D. I would like to project the vector →BD onto the reference plane as well as project vector →BD onto the plane ...
1
vote
1answer
165 views

Can I define a plane given 2 points in xyz coordinates as well as roll angle about that vector?

I am working on a complex motion analysis, trying to calculate wrist angles in 3 dimensions. I have sensors placed as this diagram depicts and need both flexion/extension angles as well as ...
1
vote
0answers
87 views

How to calculate center coordinates of two reverse arcs in 3D space

Given 3D points P1(200,60,140), P2(300,120,110), P3(3,0,-1), P4(-100,0,-1) and the radius of arc C1MP3 is equal to radius of arc C2MP1. How do I calculate coordinates x, y, z of points C1 and C2? ...
0
votes
1answer
58 views

Which of these rotation matrices represents a positive rotation in three-space about the y-axis?

This is what Wikipedia says: \begin{bmatrix} \cos \theta & 0 & \sin \theta \\ 0 & 1 & 0 \\ -\sin \theta & 0 & \cos \theta \\ \end{bmatrix} This is what I think it should ...
-1
votes
2answers
128 views

Identifiying the next point on the surface of a cube ( or 3D object )

I have a cube of unit length. Each face of the cube is divided into 10 x 10 equal segments. Consider an object of size equal to that of a segment moving through the surface of the cube ( or any 3D ...
1
vote
2answers
173 views

Finding a point on a 3d line

I have two points in 3D which will create a single ray. I am trying to find a point on that ray which intersects a plane who's y coordinate is 0. So how do I find a point on a 3D line when I know the ...
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 ...
1
vote
2answers
591 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
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 ...
0
votes
3answers
108 views

In $\mathbb{R}^3$ find the equation of the circle passing for three points.

So, I have the following points: $\left( \begin{matrix} 5 \\ 0 \\ 0 \end{matrix} \right), \left( \begin{matrix} 0 \\ 4 \\ -1 \end{matrix} \right), \left( \begin{matrix} -4 \\ 4 \\ 3 \end{matrix} ...
0
votes
1answer
80 views

Normalizing a 3D angle distribution

I'm having trouble finding the proper keywords to search for this type of treatment so I apologize in advance if this is quite obvious. I have a collection of lines in 3D space approximately centered ...
0
votes
1answer
3k views

Angle between two 3D lines

I know for given 2 vector $\vec{u},\vec{v}$ the angle between them achieved by - $$\cos{\theta} = \frac{\vec{u} \cdot \vec{v}}{\|\mathbf{u}\|\|\mathbf{v}\|}$$ but what if I want to calculate the ...
0
votes
0answers
69 views

3D vertices $\rightarrow$ 2D polygon $\rightarrow$ 3d transformation

This may be a little strange. I have an array of 3D vertices, which represent a 3D face (n-gon). I first need to describe the face in 2D. I can then apply these transforms on it. X, Y, and Z ...
1
vote
1answer
131 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
1answer
73 views

Commutative applying rotations around three axis

Rotating an object in a 3 dimensional space by euler angles might be intuitive but comes with some problems. First, the order of applied rotations around the different axis matters. Second, there is ...
2
votes
1answer
69 views

Disable one angle of rotation

I'd like to disable one angle of rotation of an object rotating in 3D space. Imagine a camera rotating around and displaying objects as they are in space. I'd like this object to be fixed on the ...