0
votes
2answers
74 views

converting kph and heading to xyz velocity vector

I am writing software (in C++) that is required to send out messages from our simulation system to another simulation system. Problem is we track the simulation object's current speed (kph) and ...
0
votes
1answer
40 views

N points in a circle around a point on a sphere.

Consider a 3D sphere: $(x_{c}, y_{c}, z_{c})$ : cartesian coordinates of the center $r$ : the radius Consider a random point on the surface of this sphere of coordinates : $(x_{0}, y_{0}, ...
0
votes
0answers
11 views

New Axis calculation

I have a task whereby I use an accelerometer to calculate acceleration for a vehicle. The problem I am attempting to solve is to allow the accelerometer to be in any oriertaion. Basically I have a ...
0
votes
1answer
21 views

Find a vector in cartesian coordinates given its relative location to another vector in spherical coordinates

Here is my problem: -I have an arbitrary normalized vector N in cartesian coordinates -I am trying to find normalized vector M, also in cartesian coordinates -I am given the azimuth and polar ...
-1
votes
1answer
52 views

An error in Wikipedia? (trigonometry)

https://en.wikipedia.org/wiki/N-sphere In "Spherical coordinates" section the hyperspherical coordinates are results of arccosinus function. In some other sources there is arccotangent instead: ...
-1
votes
1answer
162 views

How to use geometry to express unit vectors of spherical coordinate system in terms of Cartesian unit vectors

It's quite easy to express unit vector $\hat{r}$ in sum linear combinations of Cartesian unit vectors $\hat{x}$, $\hat{y}$ and $\hat{z}$. But I am not sure how I can use geomtery to find a Cartesian ...
1
vote
1answer
100 views

Project point onto line in Latitude/Longitude

Given line AB made from two Latitude/Longitude co-ordinates, and point C, how can I calculate the position of D, which is C projected onto D. Diagram:
4
votes
1answer
174 views

Are spherical coordinates unique orthogonal coordinates on sphere?

Spherical coordinates on unit sphere are defined by the following transformation: $$\begin{cases}x=\sin\theta\cos\varphi\\ y=\sin\theta\sin\varphi\\ z=\cos\theta\end{cases}$$ Are these coordinates ...
1
vote
1answer
434 views

Express spherical coordinates with different centers in terms of each other.

Imagine that you have two spheres with a distance $R$ from one center to the other one. Now, it is well known how one would get the cartesian position vector of each point in sphere 1 by using ...
1
vote
2answers
318 views

How to verify a conversion to spherical coordinates?

Is it possible to verify if a conversion of an integral in Cartesian coordinates to spherical coordinates was done correctly other than revising it looking for mistakes? I mean, is there some kind of ...
1
vote
1answer
181 views

Convert spherical coordinates to Cartesian coordinates for a vector

So let's say I have a normalized vector $N$ given in cartesian coordinates and I have another normalized vector $V$, defined in spherical coordinates relative to the vector $N$. So $\theta_V$ is the ...
1
vote
1answer
216 views

Spherical coordinates of a unit vector around a normal $N$

So if I have a unit normal for a surface $N(x,y,z)$ and an incident unit vector $V(x,y,z)$ to that surface, how would I represent the vector V in spherical coordinates relative to the normal?
4
votes
2answers
829 views

derivatives transformation

I'm currently doing a calculation for the connection coefficients using the standard space-time coordinates, namely x[0],x[1],x[2],x[3]. The setup is a spherically symmetric problem. In my ...
1
vote
0answers
491 views

Rotating co-ordinates in 3D

Suppose I have 3 axes, $x$, $y$, and $z$ such that $x$ is horizontal, $y$ is vertical, and $z$ goes in/out of the computer screen where $+$ve values stick out and $-$ve values are sunken in. Suppose ...
0
votes
1answer
71 views

Coordinates transformation and falling body trajectory

As it's well known, assuming the earth fixed and non rotating, the trajectory of a falling body with initial speed $v_0 = \{v_{0x},v_{0y},{v_{0z}}\}$ is contained in a plane. Assuming an observer in ...
0
votes
1answer
80 views

Getting coordinate between two coordinates knowing the distance and latitude

That is my wall: http://imageshack.us/f/266/wall2z.png/ I know the coordinates of the lower points (left and right). (X1,Y1,Z) and (X2,Y2,Z) where X es the latitude, Y longitude and Z the altitude. ...
1
vote
0answers
65 views

Knowing coordinates of a point having two coordinates and the distance.

I have the two geographic coordinates of the lower corners of a wall. So, for example, i want to know what is the coordinate that is for example 15cm on the right of the lower corner left. Is that ...
2
votes
2answers
155 views

Are there derivations of equations of non-degenerate real quadric surfaces

Take the ellipsoid for example $$(x^2/a^2)+(y^2/b^2)+(z^2/c^2)=1$$ in the x-y plane you have an ellipse described by $$(x^2/a^2)+(y^2/b^2)=1$$ (suppose z=constant) in the y-z plane you have an ellipse ...
2
votes
1answer
3k views

building transformation matrix from spherical to cartesian coordinate system

How to arrive at the following from given $ x = r\sin \theta \cos \phi, y = r\sin \theta \sin \phi, z=r\cos\theta $ $$ \begin{bmatrix} A_x\\ A_y\\ A_z \end{bmatrix} = \begin{bmatrix} \sin ...
3
votes
1answer
394 views

Coordinate transformation

I have some problems with a geometrical calculation. I want to know the coordinates of the point $P_2$ in my coordinate system $A \ (x,y,z)$ as shown in the following figure. Point $P_1$ (in $A \ ...
1
vote
0answers
146 views

Relative spherical coordinates of 2 points.

I have 2 points in space, defined by their spherical coordinates. I'd like to know the spherical coordinates of the second point in a reference system centered on the first point (I know the unit ...
10
votes
1answer
752 views

Can someone please explain the cube to sphere mapping formula to me?

I am wondering if anyone could explain how the following formula works, it is supposed to take the input as a point on a cube then map that to points on a sphere, please go gentle on me, I'm in 9th ...
0
votes
1answer
336 views

Finding the sign of $\phi$ in spherical coordinates

I know its a little silly, but I got the wrong sign several times. Just to be clear, $z=r\cos(\phi), -\frac{\pi}{2}\leq\phi\leq\frac{\pi}{2}$ when converting from cartesian to spherical. So, how do I ...
1
vote
1answer
2k views

Transforming from one spherical coordinate system to another

I have a set of points on the surface of a sphere specified in one coordinate system (specifically, the equatorial coordinate system), and for each point I need to work on all its neighbouring points ...
4
votes
2answers
322 views

How do I convert a vector field in Cartesian coordinates to spherical coordinates?

I have a vector field in terms of $\mathbf{\hat i}$, $\mathbf{\hat j}$, and $\mathbf{\hat k}$, $$\mathbf{F} = x\mathbf{\hat i} + y\mathbf{\hat j} + z\mathbf{\hat k}$$ How do I convert it to the ...
2
votes
2answers
266 views

How to use a Rhumb Line?

I am new to working with coordinate data and figured out the equation I am looking for is the Rhumb Line. I went to go research it and found a lot of equations and I still have no idea where to start. ...