Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libAnimation / src / com / iver / cit / gvsig / animation / keyframe / interpolator / LinearFuntion.java @ 18571

History | View | Annotate | Download (709 Bytes)

1
package com.iver.cit.gvsig.animation.keyframe.interpolator;
2

    
3

    
4
public class LinearFuntion implements IInterpolatorFuntion {
5

    
6
        private String name;
7
        private String description;
8

    
9
        public String getName() {
10
                return name;
11
        }
12

    
13
        public void setName(String name) {
14
                this.name = name;
15
        }
16

    
17
        public String getClassName() {
18
                return this.getClass().getName();
19
        }
20

    
21
        public String getDescription() {
22
                return this.description;
23
        }
24

    
25
        public void setDescription(String name) {
26
                this.description = name;
27
        }
28

    
29
        public double interpolate(double T) {
30
                return T;
31
        }
32

    
33
        public double[] interpolate(double[] T) {
34
                return T;
35
        }
36

    
37
        public IInterpolatorFuntion create() {
38
                return this;
39
        }
40

    
41
}