Statistics
| Revision:

root / trunk / extensions / extGeoreferencing / src / org / gvsig / georeferencing / utils / AffineT.java @ 5217

History | View | Annotate | Download (793 Bytes)

1
package org.gvsig.georeferencing.utils;
2

    
3
public class AffineT {
4
        private int                 order;
5
        private double[]        xcofs;
6
        private double[]          ycofs;
7
        
8
        public int getOrder() {
9
                return order;
10
        }
11
        public void setOrder(int order) {
12
                this.order = order;
13
        }
14
        
15
        public void setCofX(double value, int n){
16
                xcofs[n] = value;
17
        }
18
        
19
        public void setCofY(double value, int n){
20
                ycofs[n] = value;
21
        }
22
        
23
        public double getCofX(int n){
24
                return xcofs[n];
25
        }
26
        
27
        public double getCofY(int n){
28
                return ycofs[n];
29
        }
30
        
31
        public void setCofX(double[] x){
32
                this.xcofs = x;
33
        }
34
        
35
        public void setCofY(double[] y){
36
                this.ycofs = y;
37
        }
38
        
39
        public void mallocCofs(int n){
40
                xcofs = new double[n];
41
                ycofs = new double[n];
42
        }
43
        
44
        public double[] getXcofs() {
45
                return xcofs;
46
        }
47
        public double[] getYcofs() {
48
                return ycofs;
49
        }
50
}