Last change
on this file since 37 was
37,
checked in by (none), 14 years ago
|
Added original make3d
|
-
Property svn:executable set to
*
|
File size:
584 bytes
|
Rev | Line | |
---|
[37] | 1 | % L = vgg_line3d_pv_from_2planes(A,B) Pluecker vector of 3d line met by two planes.
|
---|
| 2 | %
|
---|
| 3 | % Syntax: L = vgg_line3d_pv_from_2planes(A,B) or
|
---|
| 4 | % L = vgg_line3d_pv_from_2planes(AB)
|
---|
| 5 | %
|
---|
| 6 | % A, B ... size (N,4), 3d planes
|
---|
| 7 | % AB ... size (2*N,4), N pairs of 3d planes. It is AB = [A1; B1; A2; B2; ... ; AN; BN].
|
---|
| 8 | % L ... size (N,6), line(s) in Pluecker vector.
|
---|
| 9 | %
|
---|
| 10 | % It is vectorized for N>1.
|
---|
| 11 |
|
---|
| 12 | % T.Werner
|
---|
| 13 |
|
---|
| 14 | function L = vgg_line3d_pv_from_2planes(A,B)
|
---|
| 15 |
|
---|
| 16 | if nargin == 1
|
---|
| 17 | L = vgg_line3d_pv_from_XY(A');
|
---|
| 18 | else
|
---|
| 19 | L = vgg_line3d_pv_from_XY(A',B');
|
---|
| 20 | end
|
---|
| 21 | L = L(:,[4:6 1:3]);
|
---|
| 22 |
|
---|
| 23 | return |
---|
Note: See
TracBrowser
for help on using the repository browser.