亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? datum.c

?? 給予QT的qps開源最新源碼
?? C
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
    }
    Datum_3Param_Count--;
    Number_of_Datums--;

    for (i = 0; i < Number_of_Datums; i++)
    {
      if (Datum_Table[i]->Type == Three_Param_Datum)
      {
        Datum_Table[i] = &(Datum_Table_3Param[count]);
        count++;
      }
    }
    Datum_Table[Number_of_Datums] = 0x00000000;

    PathName = getenv( "DATUM_DATA" );
    if (PathName != NULL)
    {
      strcpy( FileName, PathName );
      strcat( FileName, "/" );
    }
    else
    {
      strcpy( FileName, "./" );
    }
    strcat( FileName, "3_param.dat" );

    if ((fp_3param = fopen(FileName, "w")) == NULL)
    { /* fatal error */
      return DATUM_3PARAM_FILE_OPEN_ERROR;
    }

    /* write file */
    index = 0;
    while (index < Datum_3Param_Count)
    {
      strcpy( datum_name, "\"" );
      strcat( datum_name, Datum_Table_3Param[index].Name);
      strcat( datum_name, "\"" );
      if (Datum_Table_3Param[index].User_Defined)
        fprintf(fp_3param, "*%-6s %-33s%-2s %4.0f %4.0f %4.0f %4.0f %5.0f %4.0f %4.0f %4.0f %4.0f %4.0f \n",
                Datum_Table_3Param[index].Code,
                datum_name,
                Datum_Table_3Param[index].Ellipsoid_Code,
                Datum_Table_3Param[index].Parameters[0],
                Datum_Table_3Param[index].Sigma_X, 
                Datum_Table_3Param[index].Parameters[1],
                Datum_Table_3Param[index].Sigma_Y, 
                Datum_Table_3Param[index].Parameters[2],
                Datum_Table_3Param[index].Sigma_Z,
                (Datum_Table_3Param[index].South_latitude * 180.0 / PI),
                (Datum_Table_3Param[index].North_latitude * 180.0 / PI),
                (Datum_Table_3Param[index].West_longitude * 180.0 / PI),
                (Datum_Table_3Param[index].East_longitude * 180.0 / PI));
      else
        fprintf(fp_3param, "%-6s  %-33s%-2s %4.0f %4.0f %4.0f %4.0f %5.0f %4.0f %4.0f %4.0f %4.0f %4.0f \n",
                Datum_Table_3Param[index].Code,
                datum_name,
                Datum_Table_3Param[index].Ellipsoid_Code,
                Datum_Table_3Param[index].Parameters[0],
                Datum_Table_3Param[index].Sigma_X, 
                Datum_Table_3Param[index].Parameters[1],
                Datum_Table_3Param[index].Sigma_Y, 
                Datum_Table_3Param[index].Parameters[2],
                Datum_Table_3Param[index].Sigma_Z,
                (Datum_Table_3Param[index].South_latitude * 180.0 / PI),
                (Datum_Table_3Param[index].North_latitude * 180.0 / PI),
                (Datum_Table_3Param[index].West_longitude * 180.0 / PI),
                (Datum_Table_3Param[index].East_longitude * 180.0 / PI));
      index++;
    }
    fclose(fp_3param);
  }
  return (error_code);
} /* End Delete_Datum */


long Datum_Uses_Ellipsoid (const char *Code)

{ /* Begin Datum_Uses_Ellipsoid */
  /*
  *  The function Datum_Uses_Ellipsoid returns 1 if the ellipsoid is in use by a 
  *  user defined datum.  Otherwise, 0 is returned.  
  *
  *  Code               : The ellipsoid code being searched for.    (input)
  */

  char temp_code[DATUM_CODE_LENGTH];
  long length;
  long pos = 0;
  long i = 0;
  long ellipsoid_in_use = FALSE;

  if (Datum_Initialized)
  {
    length = strlen(Code);
    if (length <= (ELLIPSOID_CODE_LENGTH-1))
    {
      strcpy(temp_code,Code);

      /* Convert to upper case */
      for (i=0;i<length;i++)
        temp_code[i] = (char)toupper(temp_code[i]);

      /* Strip blank spaces */
      while (pos < length)
      {
        if (isspace(temp_code[pos]))
        {
          for (i=pos;i<=length;i++)
            temp_code[i] = temp_code[i+1];
          length -= 1;
        }
        else
          pos += 1;
      }
      /* Search for code */
      i = 0;
      while ((i < Number_of_Datums) && (!ellipsoid_in_use))
      {
        if (strcmp(temp_code, Datum_Table[i]->Ellipsoid_Code) == 0)
          ellipsoid_in_use = TRUE;
        i++;
      }
    }
  }
  return (ellipsoid_in_use);
} /* End Datum_Uses_Ellipsoid */


long Datum_Count (long *Count)

{ /* Begin Datum_Count */
  /*
   *  The function Datum_Count returns the number of Datums in the table
   *  if the table was initialized without error.
   *
   *  Count                : number of datums in the datum table     (output)
   */

  long error_code = DATUM_NO_ERROR;

  if (Datum_Initialized)
    *Count = Number_of_Datums;
  else
  {
    *Count = 0;
    error_code |= DATUM_NOT_INITIALIZED_ERROR;
  }
  return (error_code);
} /* End of Datum_Count */


long Datum_3Param_Index( const char *Code,
                         long *Index )

{ /* Begin Datum_3Param_Index */
  /*
   *  The function Datum_3Param_Index returns the index of the datum with the 
   *  specified code.
   *
   *  Code    : The datum code being searched for.                    (input)
   *  Index   : The index of the datum in the table with the          (output)
   *              specified code.
   */
  char temp_code[DATUM_CODE_LENGTH];
  long error_code = DATUM_NO_ERROR;
  long length;
  long pos = 0;
  long i = 0;

  *Index = 0;
  if (Datum_Initialized)
  {
    length = strlen(Code);
    if (length > (DATUM_CODE_LENGTH-1))
      error_code |= DATUM_INVALID_CODE_ERROR;
    else
    {
      strcpy(temp_code,Code);

      /* Convert to upper case */
      for (i=0;i<length;i++)
        temp_code[i] = (char)toupper(temp_code[i]);

      /* Strip blank spaces */
      while (pos < length)
      {
        if (isspace(temp_code[pos]))
        {
          for (i=pos;i<=length;i++)
            temp_code[i] = temp_code[i+1];
          length -= 1;
        }
        else
          pos += 1;
      }
      /* Search for code */
      i = 0;
      while (i < Datum_3Param_Count && strcmp(temp_code, Datum_Table_3Param[i].Code))
      {
        i++;
      }
      if (i == Datum_3Param_Count || strcmp(temp_code, Datum_Table_3Param[i].Code))
        error_code |= DATUM_INVALID_CODE_ERROR;
      else
        *Index = i+1;
    }
  }
  else
  {
    error_code |= DATUM_NOT_INITIALIZED_ERROR;
  }
  return (error_code);
} /* End Datum_3Param_Index */


long Datum_Index( const char *Code,
                  long *Index )

{ /* Begin Datum_Index */
  /*
   *  The function Datum_Index returns the index of the datum with the 
   *  specified code.
   *
   *  Code    : The datum code being searched for.                    (input)
   *  Index   : The index of the datum in the table with the          (output)
   *              specified code.
   */
  char temp_code[DATUM_CODE_LENGTH];
  long error_code = DATUM_NO_ERROR;
  long length;
  long pos = 0;
  long i = 0;

  *Index = 0;
  if (Datum_Initialized)
  {
    length = strlen(Code);
    if (length > (DATUM_CODE_LENGTH-1))
      error_code |= DATUM_INVALID_CODE_ERROR;
    else
    {
      strcpy(temp_code,Code);

      /* Convert to upper case */
      for (i=0;i<length;i++)
        temp_code[i] = (char)toupper(temp_code[i]);

      /* Strip blank spaces */
      while (pos < length)
      {
        if (isspace(temp_code[pos]))
        {
          for (i=pos;i<=length;i++)
            temp_code[i] = temp_code[i+1];
          length -= 1;
        }
        else
          pos += 1;
      }
      /* Search for code */
      i = 0;
      while (i < Number_of_Datums && strcmp(temp_code, Datum_Table[i]->Code))
      {
        i++;
      }
      if (i == Number_of_Datums || strcmp(temp_code, Datum_Table[i]->Code))
        error_code |= DATUM_INVALID_CODE_ERROR;
      else
        *Index = i+1;
    }
  }
  else
  {
    error_code |= DATUM_NOT_INITIALIZED_ERROR;
  }
  return (error_code);
} /* End Datum_Index */


long Datum_Code (const long Index,
                 char *Code)
{ /* Begin Datum_Code */
  /*
   *  The function Datum_Code returns the 5-letter code of the datum
   *  referenced by index.
   *
   *  Index   : The index of a given datum in the datum table.        (input)
   *  Code    : The datum Code of the datum referenced by Index.      (output)
   */

  long error_code = DATUM_NO_ERROR;

  if (Datum_Initialized)
  {
    if (Index > 0 && Index <= Number_of_Datums)
      strcpy(Code, Datum_Table[Index-1]->Code);
    else
      error_code |= DATUM_INVALID_INDEX_ERROR;
  }
  else
  {
    error_code |= DATUM_NOT_INITIALIZED_ERROR;
  }
  return (error_code);
} /* End Datum_Code */


long Datum_Name (const long Index,
                 char *Name)
{ /* Begin Datum_Name */
  /*
   *  The function Datum_Name returns the name of the datum referenced by
   *  index.
   *
   *  Index   : The index of a given datum in the datum table.        (input)
   *  Name    : The datum Name of the datum referenced by Index.      (output)
   */

  long error_code = DATUM_NO_ERROR;

  if (Datum_Initialized)
  {
    if ((Index > 0) && (Index <= Number_of_Datums))
      strcpy(Name, Datum_Table[Index-1]->Name);
    else
      error_code |= DATUM_INVALID_INDEX_ERROR;
  }
  else
  {
    error_code |= DATUM_NOT_INITIALIZED_ERROR;
  }
  return (error_code);
} /* End Datum_Name */


long Datum_Ellipsoid_Code (const long Index,
                           char *Code)
{ /* Begin Datum_Ellipsoid_Code */
  /*
   *  The function Datum_Ellipsoid_Code returns the 2-letter ellipsoid code 
   *  for the ellipsoid associated with the datum referenced by index.
   *
   *  Index   : The index of a given datum in the datum table.          (input)
   *  Code    : The ellipsoid code for the ellipsoid associated with    (output)
   *               the datum referenced by index.
   */

  long error_code = DATUM_NO_ERROR;

  if (Datum_Initialized)
  {
    if ((Index < 1) || (Index > Number_of_Datums))
      error_code |= DATUM_INVALID_INDEX_ERROR;
    else
      strcpy(Code, Datum_Table[Index-1]->Ellipsoid_Code);
  }
  else

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美白人最猛性xxxxx69交| 欧美日韩一区二区在线观看视频| 日韩精品久久理论片| 亚洲欧美在线视频| 国产欧美一区二区精品婷婷| 91精品婷婷国产综合久久性色| 欧美午夜一区二区| 色综合天天综合给合国产| 国产精品91xxx| 国产精一区二区三区| 蜜桃一区二区三区在线| 石原莉奈在线亚洲二区| 日本伊人精品一区二区三区观看方式| 亚洲综合一二三区| 亚洲一级不卡视频| 亚洲18影院在线观看| 亚洲精品精品亚洲| 免费高清成人在线| 激情五月激情综合网| 狠狠色丁香婷婷综合| 国产经典欧美精品| 国产成人午夜片在线观看高清观看| 精品系列免费在线观看| 日韩国产精品大片| 在线成人av影院| caoporm超碰国产精品| 一区二区国产视频| 日韩在线一二三区| 色狠狠色狠狠综合| 国产精品污污网站在线观看| 视频一区在线播放| 91久久久免费一区二区| 国产精品入口麻豆九色| 久久国产精品72免费观看| 91麻豆精品在线观看| 日韩精品中文字幕一区| 视频一区视频二区中文字幕| 国产精品你懂的在线欣赏| 久久国产精品99久久久久久老狼| 在线中文字幕一区二区| 国产精品乱人伦中文| 国产乱色国产精品免费视频| 91麻豆精品国产91久久久资源速度| 中文字幕亚洲一区二区va在线| 美日韩一级片在线观看| 欧美一级夜夜爽| 美女爽到高潮91| 欧美va亚洲va香蕉在线| 日韩精品五月天| 欧美一级免费观看| 日韩精品免费视频人成| 91精品国产欧美一区二区18| 日韩影院免费视频| 8x8x8国产精品| 免费在线观看日韩欧美| 欧美一区午夜精品| 日本成人在线一区| 久久综合久久鬼色| 国产夫妻精品视频| 中文字幕在线免费不卡| a亚洲天堂av| 亚洲国产综合在线| 欧美成人一区二区三区在线观看 | 亚洲国产精品ⅴa在线观看| 国产剧情一区二区| 中文字幕一区在线| 欧美午夜影院一区| 国产麻豆精品久久一二三| 中文字幕在线不卡一区二区三区| 久久国产尿小便嘘嘘尿| 国产日本亚洲高清| 视频在线观看一区| 午夜精品久久一牛影视| 日韩理论片在线| 欧美在线一二三四区| 91精品在线一区二区| 午夜精品久久久久| 欧美三级日韩三级| 亚洲成人午夜电影| 色狠狠av一区二区三区| 亚洲蜜臀av乱码久久精品蜜桃| 美腿丝袜在线亚洲一区| 欧美va亚洲va| 国内欧美视频一区二区| 欧美变态tickle挠乳网站| 日韩精品一二三四| 日韩午夜在线观看| 国产精品综合二区| 国产三级精品三级在线专区| 国产传媒欧美日韩成人| 欧美激情一区二区三区蜜桃视频| 激情成人午夜视频| 国产精品久久久久久久午夜片 | 国产精品国产三级国产aⅴ原创| 久久国产免费看| 亚洲影院在线观看| 在线精品视频小说1| www.欧美色图| 久久国产日韩欧美精品| 日韩高清不卡在线| 亚洲国产精品自拍| 亚洲www啪成人一区二区麻豆| 亚洲午夜激情网页| 日韩免费看的电影| 亚洲成人在线观看视频| 94-欧美-setu| 久久蜜桃香蕉精品一区二区三区| 黄网站免费久久| 久久久久久久久伊人| 欧美一区二区三区人| 中文字幕va一区二区三区| 亚洲一区二区三区小说| 国产精品久久久爽爽爽麻豆色哟哟 | 日韩欧美自拍偷拍| 精品在线免费观看| 2020国产精品自拍| 国产不卡在线视频| 国产精品人妖ts系列视频 | 国产午夜精品美女毛片视频| 国产成人免费视| 亚洲欧美中日韩| 在线视频国内自拍亚洲视频| 亚洲大片在线观看| 日韩精品在线一区| 大尺度一区二区| 亚洲影院在线观看| 日韩精品中文字幕在线一区| 国产成人精品免费一区二区| 17c精品麻豆一区二区免费| 91久久精品一区二区二区| 午夜视黄欧洲亚洲| 精品剧情v国产在线观看在线| 国产91精品入口| 亚洲一区二区三区中文字幕| 欧美一区二区三区四区五区| 国产精一品亚洲二区在线视频| 中文字幕亚洲在| 欧美精品日韩精品| 国产精品一区二区免费不卡| 亚洲欧洲国产日韩| 欧美日韩成人一区二区| 国产自产视频一区二区三区| 亚洲免费视频中文字幕| 欧美一级国产精品| 懂色av一区二区三区免费看| 亚洲狼人国产精品| 精品国产乱码91久久久久久网站| 成人sese在线| 日韩av电影免费观看高清完整版| 中文字幕欧美三区| 666欧美在线视频| 成人免费视频网站在线观看| 亚洲成人精品一区| 久久精品人人做人人综合| 欧美中文字幕亚洲一区二区va在线 | 国产精品三级av| 欧美精三区欧美精三区| 成人激情黄色小说| 奇米四色…亚洲| 亚洲同性同志一二三专区| 精品日韩在线观看| 在线一区二区观看| 国产精品资源在线看| 午夜精品福利一区二区三区av| 国产亚洲欧美激情| 欧美高清一级片在线| 99精品国产99久久久久久白柏| 捆绑调教美女网站视频一区| 国产精品一二三四区| 亚洲va韩国va欧美va精品 | 国产盗摄女厕一区二区三区| 日本最新不卡在线| 亚洲最色的网站| 国产精品午夜在线| 欧美电影精品一区二区 | 亚洲欧美另类综合偷拍| 欧美精品一区男女天堂| 91精品国产91久久综合桃花| 色视频欧美一区二区三区| 狠狠色狠狠色综合系列| 911精品国产一区二区在线| 国产精品久久久一本精品| 日韩高清不卡在线| 日本道精品一区二区三区| 日韩欧美国产高清| 免费成人你懂的| 在线欧美小视频| 亚洲国产成人在线| 国产酒店精品激情| 777午夜精品视频在线播放| 亚洲伦在线观看| 91美女视频网站| 免费av成人在线| 视频一区欧美精品| 亚洲综合免费观看高清在线观看| 欧美午夜精品理论片a级按摩| 国产成都精品91一区二区三| 国产剧情在线观看一区二区| 久久精品国产一区二区三区免费看| 日韩中文字幕av电影|