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
- Host: GitHub
- URL: https://github.com/dnmfarrell/math-shape-line
- Owner: dnmfarrell
- License: other
- Created: 2014-09-03T01:47:28.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-03T01:49:04.000Z (almost 12 years ago)
- Last Synced: 2025-03-06T05:44:01.136Z (over 1 year ago)
- Language: Perl
- Homepage: https://github.com
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.pod
- Changelog: Changes
- License: LICENSE
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