An open API service indexing awesome lists of open source software.

https://github.com/dnmfarrell/math-shape-line

2d vector based line object
https://github.com/dnmfarrell/math-shape-line

Last synced: about 2 months ago
JSON representation

2d vector based line object

Awesome Lists containing this project

README

          

=pod

=encoding UTF-8

=head1 NAME

Math::Shape::Line - a 2d vector line object

=head1 VERSION

version 0.01

=head1 METHODS

=head2 new

Constructor, requires 4 values: the x,y values for the base and direction vectors.

my $line = Math::Shape::Line->new(1, 2, 3, 4);

=head1 AUTHOR

David Farrell

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by David Farrell.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut