--- title: "Short post comparing Projective Geometric Algebra and Conformal Geometric Algebra for the simple problem of line-sphere intersection:" type: archive source: twitter source_url: "https://x.com/hamish_todd/status/1804130765296263172" author: "Hamish Todd" handle: hamish_todd post_id: "1804130765296263172" date: 2024-06-21 archived: 2026-08-28 draft: false tags: - archive - twitter - hamish_todd description: "Short post comparing Projective Geometric Algebra and Conformal Geometric Algebra for the simple problem of line-sphere intersection:" in_reply_to: "" --- ## Source - URL: https://x.com/hamish_todd/status/1804130765296263172 - Author: Hamish Todd (@hamish_todd) - Posted: 2024-06-21 12:34:28 ## Thread **1/** **@hamish_todd** ^1804130765296263172 Short post comparing Projective Geometric Algebra and Conformal Geometric Algebra for the simple problem of line-sphere intersection: https://hamishtodd1.substack.com/p/line-sphere-intersection-in-projective?r=hhpio&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true&triedRedirect=true ![](https://pbs.twimg.com/media/GQmPXceXsAA5Dme?format=jpg&name=orig) **2/** **@EricLengyel** ^1804275521121063420 **@hamish_todd** That method of point extraction in the CGA case is outdated. **3/** **@EricLengyel** ^1804288269359943780 Also, your calculation of d² gives the negative squared radius in the CGA case, so there's no intersection when it's positive, and you need to negate it before taking the square root. **4/** **@EricLengyel** ^1804291168035057714 **@hamish_todd** Also also, using the geometric product to calculate the squared radius is overkill and generates 5 unnecessary terms. Use the much simpler inner product instead. Branches: [[archive/threads/hamish_todd/2024-06-21-short-post-comparing-projective-geometric-algebra/2024-06-22-hamish_todd-will-correct-this-in-the-morning-thanks]]