File: Constants.pm

package info (click to toggle)
libchart-perl 2.4.10ds1-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,900 kB
  • sloc: perl: 11,697; makefile: 6
file content (29 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## @file
# Constants used in Chart:\n
# PI
#
# written and maintained by
# @author Chart Group at Geodetic Fundamental Station Wettzell (Chart@fs.wettzell.de)
# @date 2015-03-01
# @version 2.4.10
#

## @class Chart::Constants
# @brief Constants class defines all necessary constants for Class Chart
#
# Defined are \n
# PI = 3.141...\n
# \n
# Usage:\n
# @code
# use Chart::Constants;
# my $pi = Chart::Constants::PI;
# @endcode
package Chart::Constants;
use strict;

# set up initial constant values
use constant PI => 4 * atan2( 1, 1 );

# be a good module
1;