Compass::Bearing

Compass::Bearing is a Perl module to convert angle to text bearing (aka heading).
Download

Compass::Bearing Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Michael R. Davis
  • Publisher web site:
  • http://search.cpan.org/~mrdvt/Geo-GoogleEarth-Document-0.09/lib/Geo/GoogleEarth/Document/Folder.pm

Compass::Bearing Tags


Compass::Bearing Description

Compass::Bearing is a Perl module to convert angle to text bearing (aka heading). Compass::Bearing is a Perl module to convert angle to text bearing (aka heading).SYNOPSIS use Compass::Bearing; my $obj = Compass::Bearing->new(); print "Bearing: $_ deg => ", $obj->bearing($_), "n" foreach (12,45,78,133); print "Compass: ", join(":", $obj->data),"n";CONSTRUCTORnewThe new() constructor may be called with any parameter that is appropriate to the set method. my $obj = Compass::Bearing->new();METHODSbearingMethod returns a text string based on bearing my $bearing=$obj->bearing($degrees_from_north);bearing_radMethod returns a text string based on bearing my $bearing=$obj->bearing_rad($radians_from_north);setMethod sets and returns key for the bearing text data structure. my $key=$self->set; my $key=$self->set(1); my $key=$self->set(2); my $key=$self->set(3); #default valuedataMethod returns an array of text values. my $data=$self->data; Requirements: · Perl


Compass::Bearing Related Software