NAME

Math::Shape::LineSegment - a 2d vector line segment; a line with start and end points

VERSION

version 0.05

METHODS

new

Constructor, requires 4 values: the x,y values for the start and end points

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

AUTHOR

David Farrell <sillymoos@cpan.org>

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.