NAME
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
Version 0.01
SYNOPSIS
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
);
Attributes
name
start_point
A Algorithm::Shape::RandomTree::Branch::Point object
end_point
A Algorithm::Shape::RandomTree::Branch::Point object
dy
dx
level
width
nodulation
See in Algorithm::Shape::RandomTree
complexity
See in Algorithm::Shape::RandomTree
path_string
AUTHOR
Tamir Lousky, <tlousky at cpan.org>
BUGS
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.
SUPPORT
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
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
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