NAME

Qhull::PP - Pure Perl interface to Qhull

VERSION

version 0.05

SYNOPSIS

use Qhull 'qhull';

# generate a convex hull and return the ordered
# indices of the points in the convex hull
my \@indices = qhull( $x, $y );

DESCRIPTION

This is a pure-Perl interface to qhull. It passes input to the qhull executable and parses and returns the results.

SUBROUTINES

qhull

@results = qhull( @coords, ?\%options );

Make qhull do something. If no options are specified, the default is to generate a convex hull and return a list of the ordered indices of the points on the convex hull.

The following options are available:

  • raw => Boolean

    Don't parse the output; return it as a single string;

  • passthrough => array of Qhull options

  • trace => Boolean

    Add line number info to parsed output.

  • qh_opts => array of Qhull options or a Qhull::Options object.

    It's expensive to parse the options, so for repeat calls, pass in a Qhull::Options object.

SUPPORT

Bugs

Please report any bugs or feature requests to bug-qhull@rt.cpan.org or through the web interface at: https://rt.cpan.org/Public/Dist/Display.html?Name=Qhull

Source

Source is available at

https://gitlab.com/djerius/p5-qhull

and may be cloned from

https://gitlab.com/djerius/p5-qhull.git

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Diab Jerius <djerius@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Smithsonian Astrophysical Observatory.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007