Find the intersection of a line with a plane: Difference between revisions
Content added Content deleted
(→With a geometric algebra library: rephrasing De Morgan Law) |
|||
Line 1,510: | Line 1,510: | ||
my $plane = (5*$k + $l) ∧ ($i∧$j); |
my $plane = (5*$k + $l) ∧ ($i∧$j); |
||
# |
# The meet is the dual of the join of the duals |
||
my $LINE = $line*$I/$I2; |
my $LINE = $line*$I/$I2; |
||
my $PLANE = $plane*$I/$I2; |
my $PLANE = $plane*$I/$I2; |
||
my $M = $LINE∧$PLANE; |
my $M = $LINE∧$PLANE; |
||
⚫ | |||
# switching back to normal space |
|||
⚫ | |||
# Affine coordinates of (X, Y, Z, W) are (X/W, Y/W, Z/W) |
# Affine coordinates of (X, Y, Z, W) are (X/W, Y/W, Z/W) |