示例#1
0
 public NyAR2FeaturePoints(int i_num_of_coord, int i_scale, double i_maxdpi, double i_mindpi)
 {
     this.scale  = i_scale;
     this.maxdpi = i_maxdpi;
     this.mindpi = i_mindpi;
     this.coord  = NyAR2FeatureCoord.createArray(i_num_of_coord);
 }
示例#2
0
 public void setValue(NyAR2FeatureCoord i_val)
 {
     this.x      = i_val.x;
     this.y      = i_val.y;
     this.mx     = i_val.mx;
     this.my     = i_val.my;
     this.maxSim = i_val.maxSim;
 }
示例#3
0
 public static NyAR2FeatureCoord[] createArray(int i_num_of_coord)
 {
     NyAR2FeatureCoord[] r = new NyAR2FeatureCoord[i_num_of_coord];
     for (int i = 0; i < i_num_of_coord; i++)
     {
         r[i] = new NyAR2FeatureCoord();
     }
     return(r);
 }