0
votes
0answers
18 views

Rotation invariant method to compare points on spherical surface

Is there any rotation invariant method that I can use to compare the similarity between the three groups of "A" points as shown below?
1
vote
0answers
15 views

Looking for algorithm for spherical point in polygon that works across meridian and anti-meridian

I need to process millions of latitude/longitude points every day to see if they are located within a defined lat/lon bounded polygon. The polygon may be rectangular, or it may be some irregular 3.. ...
0
votes
1answer
70 views

Determine if one point lies between two other points on a sphere

My question is rather simple. Can I use the dot product to determine if a coordinate lies between two others? With coordinates I mean a Point P(latitude, longitude) on the surface of the sphere. I ...
0
votes
1answer
43 views

Granted I have NE and SW coordinates for a rectangle, how do I get the center point?

I've got the NE and SW coordinates/points for a minimum bounding rectangle. How do I calculate the center point of this rectangle? At first thought, I could calculate this using simple division. ...
1
vote
1answer
30 views

Implicit partial derivative of a spherical cap

Consider a spherical cap, for which the base radius is $a$ and the height is $h$. Then, the surface area and volume is (these equations can be found on Wolfram Mathworld) $A(a,h) = \pi(a^2 +h^2)$, ...
1
vote
0answers
40 views

How to find Latitudes and Longitudes of projections of the vertices of a rectangular plane below earth's surface?

I want to find out the latitudes and longitudes of projections of the vertices of a rectangular plane inside the earth's surface. I know dimensions of rectangle, angles of orientation and latitude and ...
0
votes
0answers
61 views

A basic question on surface area of spherical cap of sphere

Consider a sphere of radius 1. Now chop a spherical cap with latitude line $\phi$ at the bottom of the cap is removed from top (say $0<\phi<\frac{\pi}{2}$). I want to know the surface area of ...
1
vote
2answers
514 views

Equation for calculating azimuth between two points

Does anybody know an equation or approximation for calculating the azimuth as a function of latitudes and longitudes of both the points. For example I have Princeton, NJ is at 40.3571° N, 74.6702° ...
0
votes
1answer
36 views

Trouble with understanding a spherical coordinate system.

We have a sphere with $r=1$, and we want the coordinates of $C$. $A$ is the north pole, and $AB$ is our prime meridian. See picture: I'm familiar with an $(x,y,z)$ coordinate system, but not so ...
0
votes
1answer
33 views

Curving points to a sphere

I think math.stackexchange is the right place to post this, but if not, feel free to tell me. I have a series of points to be plotted on a sphere (Each one has a latitude and longitude value). These ...
1
vote
2answers
77 views

Computing distance from line to point in geodetic environment

Supposing to be in a cartesian plan and that I have the following point: $$A(x_{1},y_{1}), B(x_{2},y_{2}), C(x_{3},y_{3}), D(x_{4},y_{4})$$ $$P(x_{0},y_{0})$$ Now immagine two lines, the fist one ...
2
votes
2answers
945 views

Different ways for calculating distance between two geodetic points give me different results

I'm trying to calculate the distance between two geodetic points in two different ways. The points are: A:(41.466138, 15.547839) B:(41.467216, 15.547025) The ...
2
votes
0answers
63 views

Given 3 Vertices of a Tetrahedron, Find the 4th

A regular tetrahedron is circumscribed by the Earth (assume spherical). You are given 3 of the 4 vertices (as latitude and longitude in decimal format), and asked to find the 4th. Any help is most ...
1
vote
1answer
113 views

Angled Spherical Sector - formulas?

I am glad to be here. First off, please excuse my almost saddening lack of knowledge. Math (in general) isn't my strong point. I might ask some really basic questions, you have been warned :) The ...
0
votes
0answers
52 views

How to rotate point on a spherical coordinate

I am looking for formula that shows hot to find the spherical coordinates of a point after the axis rotated. Assume that I am on earth and I have the coordinate of a point in lan/lot (which I believe ...
3
votes
1answer
57 views

Energy of particles on sphere and uniform rotation

I have a computer program containing some particles on a unit sphere, characterized by their positions $\{(\theta_i,\phi_i)\}$. They have a total energy given by the arc distance between particle ...
1
vote
1answer
103 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:
2
votes
2answers
96 views

can a great circle route be predicted from initial condition?

Assuming the world is a sphere with no wind, can the great circle route of a vessel be predicted from the current position $\{\phi_i,\lambda_i\}$ and the current true course $\theta_i$? Presently, ...
0
votes
0answers
56 views

“Great Circle” distance [duplicate]

Given two points on a sphere, then the "great circle distance" between two points is the length of the smallest arc of a great circle containing both points. Assume that $\Sigma$ is a sphere of radius ...
2
votes
0answers
57 views

Finding the coordinates of the corners of an aligned pole-centered spherical square

Given a spherical square of radius $1$, with edge midpoints at $(1, x, 0)$, $(1, x, \pi/2$), $(1, x, \pi)$ and $(1, x,3 \pi/2)$ (in the spherical coordinate system of (radial distance, polar angle, ...
3
votes
1answer
136 views

Laplacian on Sphere of Function Only Depending on Angle Between Points

Consider a function $f:S^2 \to \mathbb{R}$ , with $S^2$ the unit $2$-sphere in $\mathbb{R}^3$. Let's say that $f$ depends only on the polar angle $\theta$ from the north pole (e.g., $f(r,\theta,\phi) ...
1
vote
1answer
184 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
233 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?
1
vote
1answer
162 views

Directions in spherical coordinates

Say I have a system with standard spherical coordinates. There's a man on that sphere and he's standing on the equator facing east. He chooses a random angle $0°-360°$ and turns that much in the clock ...
2
votes
2answers
213 views

Vector Picking on the Unit Sphere

Imagine a vector from the center of a unit sphere to its surface: Now imagine a second vector generated in indentical fashion. Given the first vector, how can I generate vectors to uniformally ...
0
votes
0answers
61 views

Addition of spherical surface vectors

I'm making a planet simulator, which makes much use of a sphere. I'm trying to figure out how to represent and manipulate vectors on the surface of the sphere. Currently, my coordinates are all ...
2
votes
4answers
904 views

Intersection of two arcs on sphere

I have two arcs on a sphere that are defined as pair of points: (θ₀, φ₀), (θ₁, φ₁). I need to find a point where they intersect, or some indication if they don't. What is important is that they are ...
0
votes
1answer
289 views

Finding a third coordinate on a sphere that is equidistant from two known coordinates

Here is my problem that I'm having some trouble with: I have the coordinates (latitude and longitude) of two points on Earth. I have no problem finding the great circle distance between the two ...
0
votes
1answer
98 views

Law sines in Spherical Triangle $\rightarrow$ Law sines in plane triangle

Could any one tell me how to estimate or get law of sines in Spherical Triangle to The Law of Sines in Plane Triangle? i.e $\frac{\sin a}{\sin A}=\frac{sin b}{\sin B}=\frac{\sin c}{\sin C}$ to ...
3
votes
1answer
113 views

problem or doubt regarding visualizing angles of spherical triangle

I must confess that I am not able to visualize or understand what is the angle of a spherical triangle say $ABC$ where $A,B,C$ are vertices of the triangle which is formed by intersection of three ...
0
votes
1answer
76 views

How to minimize the length of a curve on $S^2$

The length of a curve $\gamma$ starting from a point $p$ and ending at another point $q$ on $S^2$ is given by the formula $$l_{\gamma}(S^2)=\int_{0}^{1}\sqrt{(d\phi/dt)^2+ \sin^2\phi ...
0
votes
0answers
105 views

two points on a unit sphere

Consider the two vectors to the points on the unit sphere, $${\bf v}_i=(\sin\theta_i\cos\varphi_i,\sin\theta_i\sin\varphi_i,\cos\theta_i)$$ with $i=1,2$. Use the dot product to get the angle $\psi$ ...
1
vote
2answers
466 views

Discretize a circle on a sphere with a given center and radius

I would like to draw a discretized circle on the surface of a sphere (the Earth in that case). The input of the algorithm would be the center of the circle (expressed as longitude and latitude), the ...
0
votes
1answer
245 views

Given an arc length and an angle, how do I get a sphere coordinate?

Assuming I start at the top of a sphere and am given the radius of the sphere, an angle to turn, and a distance to walk along the sphere, how could I find my destination in the sphere coordinate ...
1
vote
0answers
366 views

Generating evenly distributed points on a sphere

How could I write an algorithm to generate n points distributed 'evenly' on a sphere? I already wrote an algorithm to generate points distributed uniformly on the surface (here), but by 'evenly' ...
1
vote
1answer
219 views

Distance measurement between latitude/longiture pairs.

I need to calculate the distance between two lat/lng coordinate pairs. In addition, If given an initial lat/lng coordinate, angle of travel, and distance, I need to calculate the resulting lat/lng ...
1
vote
0answers
163 views

Centre of a spherical triangle

Suppose I have a triangle defined by 3 unit vectors {$v_1, v_2, v_3$} in a 3 dimensional complex inner product space. What would be the centre of such a triangle? I guess it should be something like ...
1
vote
1answer
242 views

Converting between spherical coordinate systems

Say I have the spherical coordinates of some locations, specifically their longitude ($0$ to 360) and latitude (latitude = $0$ at equator, $90$ at north pole, $-90$ at south pole) on a sphere with a ...
3
votes
1answer
135 views

Integration on a sphere

I have an integral at hand which has the form of $$I = \int_{u\in \mathbb{S}^2} f(\mathbf{u}\cdot \mathbf{s}_1) f(\mathbf{u}\cdot \mathbf{s}_2) d\mathbf{u}$$ where $\mathbb{S}^2$ is the unit sphere ...
2
votes
1answer
2k views

Angle between GPS coordinates

I realize GPS Coordinates are spherical coordinates. However I know the earth is more of an ellipsoid. I need to compute with a fairly high degree of accuracy the pitch and yaw between two objects ...
1
vote
1answer
262 views

dotting gradient in spherical coordinates with displacement vector

The gradient in spherical coordinates is given by: $\nabla f = \left(\frac{\partial f}{\partial r}, \frac{1}{r} \frac{\partial f}{\partial \theta}, \frac{1}{r \sin \theta} \frac{\partial f}{\partial ...
1
vote
1answer
494 views

Coordinates of interception point Y with XY being the shortest distance of X to AB on sphere

How would one calculate the interception point $Y$ with $\overleftrightarrow{XY}$ being the shortest distance of $X$ to $\overleftrightarrow{AB}$? This answer to the question How to find the ...
3
votes
2answers
779 views

Lat/Long grid points covered by projecting rectangle onto sphere

Before my question proper, a little background: I'm wanting to optimise some computer rendering by eliminating the drawing of things that aren't visible given the current view. Suppose we have a ...
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 ...
2
votes
4answers
1k views

Latitude and longitude of points on a line

How could you get the latitude and longitude of four points (equal distance apart) on a line from $(27,-82)$ to $(28,-81)$? The four points should split the line into 5 parts.
2
votes
2answers
278 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. ...
5
votes
4answers
1k views

How to find the distance between a point and line joining two points on a sphere?

How do I calculate the distance between the line joining the two points on a spherical surface and another point on same surface? I have illustrated my problem in the image below. In the above ...