get_distance_to_hull - Determines the distance of a point to hull
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
const Hull *hp,
const Vector *test_vp,
This function computes the distance of a point to a hull boundary. If the
point is outside the hull, the distance is positive, and if it is inside the
hull, the distance is negative.
The first argument "hp" is the address of the convex hull
The second argument "test_vp" contains the address of a the query location.
The argument distance_ptr is a pointer to the distance to be computed.
NO_ERROR on success, and ERROR on failure with an error message being set.
This routine is computationally expensive, and currently not all that
exact either (likely due to bugs)!
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.