The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Algorithm::SpatialIndex::Node - A non-leaf node in a SpatialIndex

SYNOPSIS

  use Algorithm::SpatialIndex;
  my $idx = Algorithm::SpatialIndex->new(
    strategy => 'QuadTree', # or others
  );

DESCRIPTION

METHODS

new

Constructor

id

Read/write accessor for node id.

subnode_ids

Returns the array ref of subnode ids if set. Works as setter, too.

coords

Returns the array ref coordinates if set. Works as setter, too.

AUTHOR

Steffen Mueller, <smueller@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2010, 2011 by Steffen Mueller

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.