NAME

Geo::Constants - Perl Standard Geo:: package for constants

SYNOPSIS

use Geo::Constants qw{PI DEG RAD}; #import into namespace
print "PI: ", PI, "\n";

use Geo::Constants;                #Perl OO
my $obj = Geo::Constants->new();
print "PI: ", $obj->PI, "\n";

DESCRIPTION

CONSTRUCTOR

new

The new() constructor

my $obj = Geo::Constants->new();

METHODS

PI

my $pi = $obj->PI;

DEG

my $degress_per_radian = $obj->DEG;

RAD

my $radians_per_degree = $obj->RAD;

TODO

Add more constants

BUGS

LIMITS

AUTHOR

Michael R. Davis qw/perl michaelrdavis com/

LICENSE

Copyright (c) 2006 Michael R. Davis (mrdvt92)

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

SEE ALSO

Geo::Functions Geo::Ellipsoids