| 1 | package Qhull; | ||
| 2 | |||
| 3 | # ABSTRACT: Interface to the Qhull convex hull, Delauny triangulation, Voronoi diagram software suite | ||
| 4 | |||
| 5 | 2 | ▶ | use v5.26; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 2 | our $VERSION = '0.07'; | |
| 10 | |||
| 11 | sub import { | ||
| 12 | 1 | ▶ | my ( undef, @args ) = @_; |
|
Subroutine
import: called CC=1 SCAR=0.4
| |||
| 13 | # for now, just have PP version; | ||
| 14 | 1 | require Qhull::PP; | |
| 15 | 0 | Qhull::PP->import( { into => scalar caller() }, @args ); | |
| 16 | } | ||
| 17 | |||
| 18 | 2 | 1; | |
| 19 | |||
| 20 | # | ||
| 21 | # This file is part of Qhull | ||
| 22 | # | ||
| 23 | # This software is Copyright (c) 2024 by Smithsonian Astrophysical Observatory. | ||
| 24 | # | ||
| 25 | # This is free software, licensed under: | ||
| 26 | # | ||
| 27 | # The GNU General Public License, Version 3, June 2007 | ||
| 28 | # | ||
| 29 | |||
| 30 | __END__ | ||
| 31 | |||
| 32 | =pod | ||
| 33 | |||
| 34 | =for :stopwords Diab Jerius Smithsonian Astrophysical Observatory qhull Delauny Voronoi | ||
| 35 | |||
| 36 | =head1 NAME | ||
| 37 | |||
| 38 | Qhull - Interface to the Qhull convex hull, Delauny triangulation, Voronoi diagram software suite | ||
| 39 | |||
| 40 | =head1 VERSION | ||
| 41 | |||
| 42 | version 0.07 | ||
| 43 | |||
| 44 | =head1 SYNOPSIS | ||
| 45 | |||
| 46 | use Qhull 'qhull'; | ||
| 47 | |||
| 48 | # generate a convex hull and return the ordered | ||
| 49 | # indices of the points in the convex hull | ||
| 50 | my \@indices = qhull( $x, $y ); | ||
| 51 | |||
| 52 | =head1 DESCRIPTION | ||
| 53 | |||
| 54 | This is an B<alpha> quality interface to the L<qhull|https://qhull.org> library and executables. | ||
| 55 | |||
| 56 | At present this module punts to L<Qhull::PP>, which is a wrapper | ||
| 57 | around B<qhull> executable, not the library. | ||
| 58 | |||
| 59 | At present see L<Qhull::PP> for a discussion of the arguments to L<qhull>. | ||
| 60 | |||
| 61 | =head2 Future API | ||
| 62 | |||
| 63 | B<qhull> has an interesting manner of setting up options, used by both | ||
| 64 | the executable and the library entry point. It may be impossible to | ||
| 65 | get this to look Perlish, especially as the B<qhull> manual page is | ||
| 66 | required to properly use its facilities. | ||
| 67 | |||
| 68 | The final interface, which will be the same for the library and the | ||
| 69 | executable wrapper is still in flux. | ||
| 70 | |||
| 71 | =head1 SUPPORT | ||
| 72 | |||
| 73 | =head2 Bugs | ||
| 74 | |||
| 75 | Please report any bugs or feature requests to bug-qhull@rt.cpan.org or through the web interface at: L<https://rt.cpan.org/Public/Dist/Display.html?Name=Qhull> | ||
| 76 | |||
| 77 | =head2 Source | ||
| 78 | |||
| 79 | Source is available at | ||
| 80 | |||
| 81 | https://gitlab.com/djerius/p5-qhull | ||
| 82 | |||
| 83 | and may be cloned from | ||
| 84 | |||
| 85 | https://gitlab.com/djerius/p5-qhull.git | ||
| 86 | |||
| 87 | =head1 AUTHOR | ||
| 88 | |||
| 89 | Diab Jerius <djerius@cpan.org> | ||
| 90 | |||
| 91 | =head1 COPYRIGHT AND LICENSE | ||
| 92 | |||
| 93 | This software is Copyright (c) 2024 by Smithsonian Astrophysical Observatory. | ||
| 94 | |||
| 95 | This is free software, licensed under: | ||
| 96 | |||
| 97 | The GNU General Public License, Version 3, June 2007 | ||
| 98 | |||
| 99 | =cut | ||