NAME

point_projection_matrix_from_line_projection_matrix - Creates a 3x4 point projection matrix from a 3x6 line projection matrix.

SYNOPSIS

#include "g/g_point_projection.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int point_projection_matrix_from_line_projection_matrix
(
	Matrix **point_projection_matrix,
	const Matrix *line_projection_matrix
);

DESCRIPTION

Observing that a line projection matrix is three plucker lines and that a point projection matrix is three planes, this function derives three planes from the plucker representations.

RETURNS

ERROR if the line projection matrix is invalid or if allocation fails. NO_ERROR otherwise.

RELATED

plane_from_plucker_lines

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Andrew Emmott (aemmott)

DOCUMENTER

Andrew Emmott (aemmott)

SEE ALSO

points_from_plucker , distance_between_lines_as_points , plane_from_lines_as_points , plane_from_plucker_lines