protected Vector translateCRFPCoverageBoxes(CRFPCoverageBox[] boxes){
  Vector vector=new Vector();
  for (int i=0; i < boxes.length; i++) {
    CRFPCoverageBox box=boxes[i];
    RpfCoverageBox rcb=new RpfCoverageBox();
    rcb.nw_lat=box.nw_lat;
    rcb.nw_lon=box.nw_lon;
    rcb.se_lat=box.se_lat;
    rcb.se_lon=box.se_lon;
    rcb.subframeLatInterval=box.subframeLatInterval;
    rcb.subframeLonInterval=box.subframeLonInterval;
    rcb.chartCode=box.chartCode;
    rcb.startIndexes=new Point(box.startIndexes.x,box.startIndexes.y);
    rcb.endIndexes=new Point(box.endIndexes.x,box.endIndexes.y);
    rcb.tocNumber=(int)box.tocNumber;
    rcb.entryNumber=(int)box.entryNumber;
    rcb.scale=box.scale;
    rcb.percentCoverage=box.percentCoverage;
    rcb.zone=box.zone;
    vector.addElement(rcb);
  }
  return vector;
}

protected Vector translateCRFPCoverageBoxes ( CRFPCoverageBox [ ] boxes ) { Vector vector = new Vector ( ) ; for ( int i = 0 ; i < boxes . length ; i ++ ) { CRFPCoverageBox box = boxes [ i ] ; RpfCoverageBox rcb = new RpfCoverageBox ( ) ; rcb . nw_lat = box . nw_lat ; rcb . nw_lon = box . nw_lon ; rcb . se_lat = box . se_lat ; rcb . se_lon = box . se_lon ; rcb . subframeLatInterval = box . subframeLatInterval ; rcb . subframeLonInterval = box . subframeLonInterval ; rcb . chartCode = box . chartCode ; rcb . startIndexes = new Point ( box . startIndexes . x , box . startIndexes . y ) ; rcb . endIndexes = new Point ( box . endIndexes . x , box . endIndexes . y ) ; rcb . tocNumber = ( int ) box . tocNumber ; rcb . entryNumber = ( int ) box . entryNumber ; rcb . scale = box . scale ; rcb . percentCoverage = box . percentCoverage ; rcb . zone = box . zone ; vector . addElement ( rcb ) ; } return vector ; }
convert crfpcoveragebox [ ] to vector of rpfcoveragebox .
