NAME
copy_hull - Creates a copy of an existing convex 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 copy_hull
(
Hull **target_hp_ptr,
const Hull *hp
);
DESCRIPTION
Copies the contents of the source convex hull to the target hull,
creating the new hull if required.
The first argument is the address of the target hull. If the target hull
itself is NULL, then a hull is created. If the target hull already exists,
its contents are overwritten.
RETURNS
NO_ERROR if the copy is successful, ERROR on failure. This routine can
only fail if storage allocation fails.
RELATED
Hull, create_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
,
get_convex_hull
,
find_convex_hull
,
is_hull_inside_hull
,
is_point_inside_hull
,
find_hull_bounds