The (3d) tag is for things related to 3-dimensions. For geometry of 3-dimensional solids, please use instead (solid-geometry). For geometry that is not on a plane, but otherwise agnostic of dimensions, perhaps (euclidean-geometry) or (analytic-geometry) should also be considered.

learn more… | top users | synonyms

0
votes
1answer
162 views

Unit Vector Based on Angle with XY-YZ-XZ Planes

this may be a simple one but lets assume I have 3 angles (a,b,c) and I want to know what unit vector makes such angles with the XY-YZ-XZ planes. Another question is that I wanna know if a,b and c are ...
1
vote
1answer
627 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 ...
1
vote
0answers
81 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? ...
2
votes
0answers
21 views

The exact type of my 3d model

I have reconstructed vertical features (hole like objects lie on a vertical face) lie on two connected faces. To understand the situation, I say I have 2 walls with many windows and doors on ...
0
votes
1answer
74 views

Perspective projection onto y/z plane?

On wikipedia there is an article on 3d perspective projection onto the x/y plane. http://en.wikipedia.org/wiki/3D_projection#Perspective_projection How do I project onto the y/z plane? If i have a ...
2
votes
2answers
74 views

Height at 2D coordinate on a 3D rectangular surface

The Problem: How can I obtain every 3D coordinate on a rectangular surface given x and z? For those who are visual, picture looking down on the surface, and finding the height at where the x and z ...
1
vote
1answer
43 views

Most appropriate statistics for position error in 3D space.

I have some data on location in 3D space, and am analyzing a couple of models that are supposed to predict the said location. The data I have is a collection of distances as a function of time ...
0
votes
1answer
338 views

Find Equation of a Perpendicular Line Going Through a Point

I have the following parametric equation for line g: $$ x=3t\land y=-7+5t\land z=2+2t $$ I have to find the equation of a line perpendicular to $g$ and going through point $Q(3,-2,4)$ which lies on ...
0
votes
1answer
24 views

Normal to a 3 Dimensional line

So I have a 3D line: (0,0,0)+t(3,4,7) and I'm trying to find the normal of this. I know the gradient of the normal would normally be -1/gradient but I'm not sure how you would find the gradient with ...
0
votes
0answers
45 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
134 views

Calculating normals for a polygon mesh (3D computer graphics)

I want to write a program to generate arches, a common architectural form, and export them to a wavefront object format for sharing with various three dimensional graphics editors. To do this, I need ...
0
votes
1answer
56 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 ...
0
votes
2answers
58 views

Formal definition of plane

The formal definition of plane says that: A plane is a set of points such that if any two points are taken on it, all the points lying on the line joining these two points also lie on the plane. The ...
-1
votes
2answers
127 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 ...
2
votes
0answers
45 views

Finding point of contact of a sphere in an image

I have an image, in which there is a table, and on this table, a sphere. I would like to find the point of contact between the sphere and the table. This point can be the center of the sphere, for ...
1
vote
0answers
44 views

Noob Question about a discrete surface

I am looking for a nudge in the right direction as to how to solve this problem. I have data which defines a solid cylinder. The data is composed of a 3d internal radius and a thickness at each point ...
-2
votes
1answer
168 views

How do i prove the formula for the volume of a cone? [duplicate]

I need a general proof for any form of a cone, not a right circular one.
0
votes
2answers
226 views

Minimum distance between point and face

Given a point in 3D space of the form (x, y, z) and a triangle consisting of 3 vectors (also in the (x, y, z) format), how would I calculate the minimum distance between the point and the face of the ...
5
votes
3answers
135 views

Which solids are characterized by their orthographic projections?

If I know the orthographic projections of a given solid in Euclidean 3-space onto the $xy$, $xz$ and $yz$ planes, under which circumstances can I reconstruct the solid based on that information alone? ...
0
votes
1answer
81 views

Creating rectangle on 3D plane

I would like to create a rectangle from two given 3D points (they are placed on rectangle diagonal). Those points lies on the same plane with given normal. I was able to do it on axis aligned planes, ...
0
votes
1answer
44 views

Computing the gradient in a discrete $\mathbb{R}^3$ without a function : is this correct?

Given a $3$D mesh, which is nothing more than a set of points with coordinates on the $3$axis, I follow the intuitive definition of gradient, which means I'm trying to get the "slope". Following ...
0
votes
1answer
31 views

Finding coordinates on line in 3d environment, given origin and direction

Working on a 3d game, I've encountered a math problem that gaming/stackoverflow hasn't been able to help with. Given an origin coordinate x,y,z, and a yaw/pitch direction away, how can I properly ...
5
votes
0answers
42 views

Generating a 3d ribbon from a series of points

I am attempting to generate a 3d ribbon from a set of 3d points. The idea is to generate a realistic ribbon which follows those points. In its current state, one example looks like this: In this ...
3
votes
2answers
2k views

How to calculate interpolating splines in 3D space?

I'm trying to model a smooth path between several control points in three dimensions, the problem is that there doesn't appear to be an explanation on how to use splines to achieve this. Are splines a ...
1
vote
2answers
147 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 ...
2
votes
2answers
126 views

Getting angles for rotating $3$D vector to point in direction of another $3$D vector

I've been trying to solve this in Mathematica for $2$ hours, but got the wrong result. I have a vector, in my case $\{0, 0, -1\}$. I want a function that, given a different vector, gives me angles DX ...
0
votes
1answer
141 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
1answer
396 views

distance between parametric line and a point (4,3,s)

I've tried solving this problem every way I know how and I just can't get it. I've looked at similar problems of this type, and I still cannot get an answer that seems right. Parametric Equations: ...
0
votes
1answer
106 views

How do you get 3D gradient direction and magnitude?

I know that we can get the magnitude and direction from 2D gradient ? 1) mag(Gx,Gy) = sqrt ( Gx^2 + Gy^2 ) 2) angle(Gx, Gy) = tan^-1 (Gy/Gx) What about in ...
1
vote
0answers
78 views

Least Squares Conformal Map Algorithm for UV coordinates

Can someone explain Least Squares Conformal Map in terms using Vertices(Vx,Vy,Vz) and UV coordinates or ST coordinate? I have read the lscm paper but I need it in XYZ value to understand it. ...
2
votes
0answers
139 views

how to calculate the volume of irregular shape by the Cartesian coordinates of its corners?

I've 4 points in a plane "A" and another 4 in another plane "B". is there a way to automatically calculate the volume contained into this irregular box? The automation is important as this set of 8 ...
0
votes
1answer
164 views

Direction Cosines and Rotation Angles

I'm rotating an object in 3D space with respect to a relative base, or reference frame. I'm using a normal vector to represent the rotation angles. Suppose you have an object parallel to the ...
1
vote
2answers
525 views

What are the coordinates of the vertices of a regular tetrahedron, relative to its centroid?

I am trying to draw an equilateral/regular tetrahedron in Processing (subset of Java), so I have to define 4 triangles that meet at the 4 vertices. I have been able to find the coordinates for the ...
1
vote
0answers
44 views

determine the position of axis in 3d space

I added a picture here for the challenge of the day! I have a coordinate system (Xg, Yg, Zg) marked in blue color, and I want to determine their positions in the space (Xf, Yf, Zf). Those are unit ...
0
votes
2answers
175 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{ ...
1
vote
1answer
50 views

Geometric interpretation of plane

What is the geometric interpretation (coincidence/parallel/intersection) of plane equations, x-2y+z=-1, 2x+y-3z=3, x+8y-9z=9 ?
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 ...
1
vote
1answer
60 views

Determine if a point is contained in the circle in 3d space

I have a problem where I need to determine if a point is contained in the area of a circle in 3d space. For my circle, I have the radius (R), the position of the center (C) and a normal vector to the ...
1
vote
0answers
36 views

Equation of ellipsoid given foci and two semi-axes

How does one find the equation of an ellipsoid given two foci, $(a,b,c)$ and $(d,e,f)$, and one semi-axis $l$? $c$ may not be equal to $f$.
0
votes
2answers
301 views

Find equation of the circular cross section of a unit sphere

I have a unit sphere in Cartesian coordinates: $x^2 + y^2 + z^2 = 1$ or in spherical coordinates: $x = \rho \sin(\phi) \cos(\theta)\\ y = \rho \sin(\phi) \sin(\theta)\\ z = \rho \cos(\phi)$ I ...
1
vote
1answer
53 views

Calculate the center point of multiple lines

I have $n\ge3$ lines $L_i$ given in 3D Space. How do I calculate a point $P$ with minimal $\sum_{i=1}^{n} distance(L_i, P)$?
0
votes
0answers
83 views

Ray and Elliptic Paraboloid intersection

I have ray: P + V*t*. An elliptic paraboloid: focal point: r0 + f * n (orientation of the paraboloid is n from the point r0 with f distance) I would like to find the intersection(s) of the ...
0
votes
1answer
52 views

3D coordinate Transformation

I am currently trying to align two bodies which do not have similar sizes and shapes. But both of these two bodies share some keynodes(similar nodal position with 0.1% error difference). How can I ...
0
votes
0answers
97 views

Calculating 3D points corrds from 2D image

The current scenario I have is that I have an image of a retangular board from an angle and I need to calculate the 4 corrdinates of the 4 corners of the rectangle. Currently I have gone through the ...
0
votes
1answer
311 views

Determine if projection of 3D point onto plane is within a triangle

In 3D, given three points $P_1$, $P_2$, and $P_3$ spanning a non-degenerate triangle $T$. How to determine if the projection of a point $P$ onto the plane of $T$ lies within $T$?
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
1answer
48 views

3d Transformation

I am trying to understand 3d-transformation in html5, but can't understand how we get new (x1, y1) coordinates. For example, we have a plane on our screen with a point at coordinates (287, 431). We ...
0
votes
1answer
171 views

4D to 3D projection

Im trying to calculate the position of 4D point in 3D world. I started with 2D and tried to extend it to the 3D and then to 4D. Firstly, I found out that its easy to calculate the projected position ...