Scholarly & GEOMETOR Notes: Intrinsic Sphere Representation

Exact Vector Representation on the Unit Sphere S^2 in geometor.model

1. Great Circles as Planes Through the Origin

In GreatCircle, every great circle \(C\) on the unit sphere \(S^2 \subset \mathbb{R}^3\) is uniquely defined by its unit pole normal \(\mathbf{n} = (n_x, n_y, n_z) \in S^2\), satisfying the diametral plane equation:

\[\mathbf{n} \cdot \mathbf{x} \;=\; n_x x + n_y y + n_z z \;=\; 0.\]

Two great circles with normal vectors \(\mathbf{n}_1, \mathbf{n}_2\) intersect along the antipodal line generated by \(\mathbf{n}_1 \times \mathbf{n}_2\). The intrinsic spherical angle \(\theta\) between them is exactly the dihedral angle between their normal vectors:

\[\cos \theta \;=\; \mathbf{n}_1 \cdot \mathbf{n}_2, \qquad \sin \theta \;=\; \|\mathbf{n}_1 \times \mathbf{n}_2\|.\]

2. Spherical Triangles & Geodesic Convexity

In SphericalTriangle, three vertices \(\mathbf{A}, \mathbf{B}, \mathbf{C} \in S^2\) define an intrinsic spherical triangle if and only if:

  1. They do not all lie on a single great circle: \(\det(\mathbf{A}, \mathbf{B}, \mathbf{C}) \neq 0\).

  2. All pairwise arc lengths are minor: \(\mathbf{A}\cdot\mathbf{B} > -1\), \(\mathbf{B}\cdot\mathbf{C} > -1\), \(\mathbf{C}\cdot\mathbf{A} > -1\).

  3. The three points lie within an open hemisphere: \(1 + \mathbf{A}\cdot\mathbf{B} + \mathbf{B}\cdot\mathbf{C} + \mathbf{C}\cdot\mathbf{A} > 0\).