Algorithm::Shape::RandomTree::Branch - This object contains the attributes necessary to generate a branch, using the functions on Algorithm::Shape::RandomTree.
Meant to be used as part of the Algorithm::Shape::RandomTree module and not really useful on it's own.
Version 0.01
use Algorithm::Shape::RandomTree::Branch; my $parent = $tree->branches('b1'); # The parent of the next branch my $branch = Algorithm::Shape::RandomTree->new( name => 'b2', start_point => $parent->end_point, end_point => $end_point, # Obj: Algorithm::Shape::RandomTree::Branch::Point dy => 5, dx => 5, level => ( $parent->level + 1 ), width => ( $parent->width - 1 ), nodulation => ( $parent->nodulation - 1), complexity => ( $parent->complexity), path_string => "M $x1 $y1 C 3 3 2 2 $x2 $y2"; # SVG path string );
A Algorithm::Shape::RandomTree::Branch::Point object
See in Algorithm::Shape::RandomTree
Tamir Lousky, <tlousky at cpan.org>
<tlousky at cpan.org>
Please report any bugs or feature requests to bug-algorithm-shape-randomtree at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Shape-RandomTree. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-algorithm-shape-randomtree at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Algorithm::Shape::RandomTree
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Algorithm-Shape-RandomTree
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Algorithm-Shape-RandomTree
CPAN Ratings
http://cpanratings.perl.org/d/Algorithm-Shape-RandomTree
Search CPAN
http://search.cpan.org/dist/Algorithm-Shape-RandomTree/
Copyright 2010 Tamir Lousky.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information. >>>>>>> a08ec105b87df4aaf8c1798ec6796e8621c4c0f8
To install Algorithm::Shape::RandomTree, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::Shape::RandomTree
CPAN shell
perl -MCPAN -e shell install Algorithm::Shape::RandomTree
For more information on module installation, please visit the detailed CPAN module installation guide.