NAME
points_from_plucker - Derives two points, (As 4-vectors), from a plucker line representation.
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 points_from_plucker
(
Vector **point_one,
Vector **point_two,
const Vector *plucker_line
);
PARAMETERS
-
Vector **point_one
-
Pointer to the first point.
-
Vector **point_two
-
Pointer to the second point.
-
const Vector *plucker_line
-
The plucker line to derive points from.
DESCRIPTION
Given *plucker_line, will find two points in 3-D space, homogenized to w = 1.0.
The approach used is to asssume that the line crosses one of the axes, (X,Y,Z),
resulting in both points having a value of 1.0 or -1.0 for one of the other
three values.
RETURNS
ERROR if plucker_line is not a valid plucker line or on allocation failure.
NO_ERROR otherwise.
RELATED
plane_from_lines_as_points, plane_from_plucker_lines,
distance_between_lines_as_points
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
distance_between_lines_as_points
,
plane_from_lines_as_points
,
plane_from_plucker_lines
,
point_projection_matrix_from_line_projection_matrix