NAME
is_point_inside_hull - Determines if the input point is inside the hull.
SYNOPSIS
#include "h/h_hull.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 is_point_inside_hull
(
const Hull *hp,
const Vector *test_vp
);
DESCRIPTION
This predicate function determines if the input point lies within the
input convex hull.
The first argument "hp" is the address of the convex hull
The second argument "test_vp" contains the address of a the query location.
RETURNS
TRUE if test_vp is in the hull, FALSE if it is not, and ERROR on failure.
RELATED
Hull
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Lindsay Martin and Kobus Barnard
SEE ALSO
create_hull
,
free_hull
,
copy_hull
,
get_convex_hull
,
find_convex_hull
,
is_hull_inside_hull
,
find_hull_bounds