CXC::Number::Grid::Range - Helper class to track Ranges
version 0.12
A utility class to manage Ranges when doing bin manipulations with trees.
The grid layer id
Whether this range is included or excluded.
The inclusive range lower bound
The exclusive range upper bound
$string = $self->to_string
Return a string representation of the range.
$string = $range->concatenate( $thing, $swap=false )
Concatenate the stringified version of $range with $thing.
Set $swap to true if the order should be reversed.
$swap
[ $layer, $include ] = $range->value;
Return an arrayref containing the layer id and the include value for the range.
Stringification is overloaded via the "to_string" method.
Concatenation is overloaded via the "concatenate" method.
Please report any bugs or feature requests to bug-cxc-number@rt.cpan.org or through the web interface at: https://rt.cpan.org/Public/Dist/Display.html?Name=CXC-Number
Source is available at
https://gitlab.com/djerius/cxc-number
and may be cloned from
https://gitlab.com/djerius/cxc-number.git
Please see those modules/websites for more information related to this module.
CXC::Number
Diab Jerius <djerius@cpan.org>
This software is Copyright (c) 2019 by Smithsonian Astrophysical Observatory.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
To install CXC::Number, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CXC::Number
CPAN shell
perl -MCPAN -e shell install CXC::Number
For more information on module installation, please visit the detailed CPAN module installation guide.