PLANESBISECTOR Bisector plane between two other planes.
BIS = planesBisector(PL1, PL2);
Returns the planes that contains the intersection line between PL1 and
PL2 and that bisect the dihedral angle of PL1 and PL2.
Note that computing the bisector of PL2 and PL1 (in that order) returns
the same plane but with opposite orientation.
Example
% Draw two planes together with their bisector
pl1 = createPlane([3 4 5], [1 2 3]);
pl2 = createPlane([3 4 5], [2 -3 4]);
% compute bisector
bis = planesBisector(pl1, pl2);
% setup display
figure; hold on; axis([0 10 0 10 0 10]);
set(gcf, 'renderer', 'opengl')
view(3);
% draw the planes
drawPlane3d(pl1, 'g');
drawPlane3d(pl2, 'g');
drawPlane3d(bis, 'b');
See also
planes3d, dihedralAngle, intersectPlanes
Author: Ben X. Kang
Dept. Orthopaedics & Traumatology
Li Ka Shing Faculty of Medicine
The University of Hong Kong
Pok Fu Lam, Hong Kong
Package: matgeom