Geo::Functions man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Geo::Functions(3)     User Contributed Perl Documentation    Geo::Functions(3)

NAME
       Geo::Functions - Package for standard Geo:: functions.

SYNOPSIS
	 use Geo::Functions qw{deg_rad deg_dms rad_deg}; #import into namespace
	 print "Degrees: ", deg_rad(3.14/4), "\n";

	 use Geo::Functions;
	 my $obj = Geo::Functions->new;
	 print "Degrees: ", $obj->deg_rad(3.14/2), "\n";

DESCRIPTION
CONVENTIONS
       Function naming convention is "format of the return" underscore "format
       of the parameters."  For example, you can read the deg_rad function as
       "degrees given radians" or "degrees from radians".

CONSTRUCTOR
   new
       The new() constructor

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

METHODS
   deg_dms
       Degrees given degrees minutes seconds.

	 my $deg=deg_dms(39, 29, 17.134);

	 my $deg=deg_dms(39, 29, 17.134, 'N');

   deg_rad
       Degrees given radians.

	 my $deg=deg_rad(3.14);

   rad_deg
       Radians given degrees.

	 my $rad=rad_deg(90);

   rad_dms
       Radians given degrees minutes seconds.

	 my $rad=rad_dms(45 30 20.0);

   round
       Round to the nearest integer. This formula rounds toward +/- infinity.

	 my $int=round(42.2);

   dms_deg
       Degrees minutes seconds given degrees.

	 my ($d, $m, $s, $sign)=dms_deg($degrees, qw{N S});
	 my ($d, $m, $s, $sign)=dms_deg($degrees, qw{E W});

   dm_deg
       Degrees minutes given degrees.

	 my ($d, $m, $sign)=dm_deg($degrees, qw{N S});
	 my ($d, $m, $sign)=dm_deg($degrees, qw{E W});

   mps_knots
       meters per second given knots

	 my $mps=mps_knots(50.0);

   knots_mps
       knots given meters per second

	 my $knots=knots_mps(25.0);

TODO
BUGS
       Please send to the geo-perl email list.

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::Constants Geo::Ellipsoids

perl v5.14.0			  2007-10-07		     Geo::Functions(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net