16 Feb 2014 17:51:50 UTC
- Distribution: Geometry-Primitive
- Module version: 0.24
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (3005 / 4 / 0)
- KwaliteeBus factor: 0
- 60.00% Coverage
- License: perl_5
- Activity24 month
- Download (26.52KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionGPHAT Cory G Watson
Geometry::Primitive - Primitive Geometry Entities
Geometry::Primitive is a device and library agnostic system for representing geometric entities such as points, lines and shapes. It provides simple objects and many convenience methods you would expect from a simple geometry library.
use Geometry::Primitive::Point; my $foo = Geometry::Primitive::Point->new(x => 1, y => 3); ...
I'm not a math guy. I hate math. I will likely learn a lot in the process of making this library. If you are a math person you will probably look at this and find many things missing or wrong. Patches are encouraged. I will likely find that I've done something completely wrong having taken geometry over 10 years ago. C'est la vie.
All of the entities in this library support serialization via MooseX::Storage. This is primarily to support serialization in consumers of this library, but may be useful for other purposes. All classes are set to JSON format and File IO.
Many of the ideas here come from my experience using the Cairo library.
Please report any bugs or feature requests to
bug-geometry-primitive at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Geometry-Primitive. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Geometry::Primitive, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Geometry::Primitive
For more information on module installation, please visit the detailed CPAN module installation guide.