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); }
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; }
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); }