~ubuntu-branches/ubuntu/raring/geotranz/raring

« back to all changes in this revision

Viewing changes to geotrans2/java_gui/geotrans/projections/LambertConformalConic1.java

  • Committer: Bazaar Package Importer
  • Author(s): Roberto Lumbreras
  • Date: 2008-10-17 14:43:09 UTC
  • Revision ID: james.westby@ubuntu.com-20081017144309-jb7uzfi1y1lvez8j
Tags: upstream-2.4.2
ImportĀ upstreamĀ versionĀ 2.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * LambertConformalConic1.java
 
3
 *
 
4
 * Created on March 18, 2005, 12:06 PM
 
5
 */
 
6
 
 
7
package geotrans.projections;
 
8
 
 
9
/**
 
10
 *
 
11
 * @author  amyc
 
12
 * @version 
 
13
 */
 
14
public class LambertConformalConic1 extends Object {
 
15
 
 
16
    // Parameters
 
17
    private double origin_latitude;   
 
18
    private double central_meridian;
 
19
    private double scale_factor;
 
20
    private double false_easting;     
 
21
    private double false_northing;    
 
22
    
 
23
    // Coordinates
 
24
    private double easting;
 
25
    private double northing;
 
26
    
 
27
    /** Creates new LambertConformalConic1 */
 
28
    public LambertConformalConic1() {
 
29
    }
 
30
 
 
31
    public LambertConformalConic1(double olat, double cent_merid, double scale_fact, double feast, double fnorth) 
 
32
    {
 
33
        origin_latitude = olat;
 
34
        central_meridian = cent_merid;
 
35
        scale_factor = scale_fact;
 
36
        false_easting = feast;
 
37
        false_northing = fnorth;
 
38
    }
 
39
    
 
40
    public LambertConformalConic1(double east, double north) 
 
41
    {
 
42
        easting = east;
 
43
        northing = north;
 
44
    }
 
45
    
 
46
    public double getOriginLatitude()
 
47
    {
 
48
        return origin_latitude;
 
49
    }
 
50
    
 
51
    public double getCentralMeridian()
 
52
    {
 
53
        return central_meridian;
 
54
    }
 
55
 
 
56
    public double getScaleFactor()
 
57
    {
 
58
        return scale_factor;
 
59
    }
 
60
 
 
61
    public double getFalseEasting()
 
62
    {
 
63
        return false_easting;
 
64
    }
 
65
    
 
66
    public double getFalseNorthing()
 
67
    {
 
68
        return false_northing;
 
69
    }
 
70
 
 
71
    public double getEasting()
 
72
    {
 
73
        return easting;
 
74
    }
 
75
    
 
76
    public double getNorthing()
 
77
    {
 
78
        return northing;
 
79
    }
 
80
}