Skip to content

Instantly share code, notes, and snippets.

@BlackHC
Created May 1, 2013 10:16
Show Gist options
  • Save BlackHC/5494587 to your computer and use it in GitHub Desktop.
Save BlackHC/5494587 to your computer and use it in GitHub Desktop.
intersection line of two planes
to determine the intersection line of two planes
planes A, B given by R^4 vectors, so that A*x = 0 if x on A, x homogeneous in R^4.
det( A, B, *, * ) is the solution space of all intersection vectors in R^4.
det( A, B, (0 0 0 1), * ) is the solution space of the direction vector d. extract it by pulling it into a R^4 vector d = (* 0).
det( A, B, *, d ) is the solution space of a point on the line. extract it by pulling it into a R^4 vector s.
intersection line = s + t*d.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment