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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? isocurve.java

?? java 作圖的程序
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
**                          errors!*/                            count = 0;                            if( bottom ) count++;                            if( top )    count++;                            if( left )   count++;                            if( right )  count++;                            if( count > 2 ) {                                System.out.println("IsoCurve: Pathological Cell");                                System.out.println("          value="+value);                                System.out.println("          i="+i+", j="+j);                                System.out.println("          tl="+tl+", tr="+tr);                                System.out.println("          bl="+bl+", br="+br);		            } else {                                count = 0;                                if( bottom ) { cell.face[count] = BOTTOM; count++; }                                if( top    ) { cell.face[count] = TOP;    count++; }                                if( left   ) { cell.face[count] = LEFT;   count++; }                                if( right  ) { cell.face[count] = RIGHT;  count++; }                            }                    }                                                           }            }	  }              /**   * Traverse the cells and find One connect countour.   */      protected void getcurve() {            Cell current;            int face = TERMINAL;            int ifcell = -1;            int jfcell = -1;            int icell,jcell;            double bl, br, tl, tr;            int index;            int i;            double d[] = new double[2];                             size = 0;            //System.out.println("getcurve: Number of cells "+cells.size());            if( cells == null || cells.isEmpty() ) return;                        current = (Cell)(cells.firstElement());            if(current.face[0] == TERMINAL && current.face[1] == TERMINAL) {                cells.removeElement(current);                System.out.println("getcurve: Terminal cell removed!");                return;            }/***          Calculate the first point in the new curve*/            icell = current.i;            jcell = current.j;                        ifcell = -1;            jfcell = -1;/***          Check to see if we can loop back on ourselves. ie we have partially**          resolved this curve or we are against a wall.**          Use the terminating wall to start the curve.*/            if( search(icell-1,jcell) == null &&                 ( current.face[0] == LEFT || current.face[1] == LEFT ) ) {                                    	 addDataPoint(LEFT,icell,jcell);                     face = LEFT;                                 } else            if( search(icell+1,jcell) == null &&                 ( current.face[0] == RIGHT || current.face[1] == RIGHT ) ) {                                         addDataPoint(RIGHT,icell,jcell);                     face = RIGHT;            } else            if( search(icell,jcell-nx) == null &&                 ( current.face[0] == BOTTOM || current.face[1] == BOTTOM ) ) {                                         addDataPoint(BOTTOM,icell,jcell);                     face = BOTTOM;                                 } else            if( search(icell,jcell+nx) == null &&                 ( current.face[0] == TOP || current.face[1] == TOP ) ) {                     addDataPoint(TOP,icell,jcell);                     face = TOP;            } else {            	/***          No terminating wall so it does not matter where we start as**          long as it is not a terminal face. Remember the position**          of the cell behind us just in case we loop back as the curve**          must be closed.*/                index = 0;                if( current.face[0] == TERMINAL ) index = 1;                                addDataPoint(current.face[index],icell,jcell);                face = current.face[index];                                if( face == TOP ) {                     ifcell = current.i;                     jfcell = current.j+1;                } else                 if( face == BOTTOM ) {                     ifcell = current.i;                     jfcell = current.j-1;                } else                 if( face == LEFT ) {                     ifcell = current.i-1;                     jfcell = current.j;                } else                 if( face == RIGHT ) {                     ifcell = current.i+1;                     jfcell = current.j;               }            }                        while( current != null ) {                               icell = current.i;               jcell = current.j;                              if( current.face[0] == face )  face = current.face[1];               else                           face = current.face[0];                                         if(face != TERMINAL) addDataPoint(face,icell,jcell);                              if(face == TOP ) {                     jcell++;                     face = BOTTOM;                } else               if(face == BOTTOM ) {                     jcell--;                     face = TOP;                } else               if(face == LEFT ) {                     icell--;                     face = RIGHT;                } else               if(face == RIGHT ) {                     icell++;                     face = LEFT;                }                                cells.removeElement(current);                if( icell == ifcell && jcell == jfcell ) {                     addDataPoint(curve[0], curve[1]);                     current = null;                } else {                     current = search(icell,jcell);                }            }     }  /**   * Return the (x,y) position where the contour cross the cell wall.   * @param wall The cell wall the contour crosses.   * @param icell The x index of the cell position.   * @param jcell The y index of the cell position.   */     protected double[] getPoint(int wall, int icell, int jcell)  {     	double d[] = new double[2];        double bl, br, tl, tr;        int index = icell + jcell*nx;                if(wall == TOP ) {                     tl = grid[index+nx];                     tr = grid[index+nx+1];                     d[1] = (double)(jcell+1);                     d[0] = (double)icell + (value-tl)/(tr-tl);         } else         if(wall == BOTTOM ) {                     bl = grid[index];                     br = grid[index+1];                     d[1] = (double)jcell;                     d[0] = (double)icell + (value-bl)/(br-bl);         } else         if(wall == LEFT ) {                     bl = grid[index];                     tl = grid[index+nx];                     d[1] = (double)jcell + (value-bl)/(tl-bl);                     d[0] = (double)icell;         } else         if(wall == RIGHT ) {                     br = grid[index+1];                     tr = grid[index+1+nx];                     d[1] = (double)jcell + (value-br)/(tr-br);                     d[0] = (double)(icell + 1);         }     	         return  d;         }           /**   * Add a data point to the contour curve.   * @param wall The cell wall the contour crosses.   * @param icell The x index of the cell position.   * @param jcell The y index of the cell position.   */      protected void addDataPoint(int wall, int icell, int jcell)  {     	  double d[];     	       	  d = getPoint(wall,icell,jcell);     	       	  addDataPoint(d[0], d[1]);     }                /**   * Add a data point to the contour curve.   * @param x The x position of the point.   * @param y The y position of the point.   */      protected void addDataPoint(double x,double y) {            if(size >= MAXARRAYSIZE-2) return;            if( curve == null)  {            	curve = new double[ARRAYSIZE];            } else            if(size == curve.length-2 ) {               double tmp[] = new double[2*size];               System.arraycopy(curve,0,tmp,0,size);               curve = tmp;            }                        curve[size] = x;            size++;            curve[size] = y;            size++;     }  /**   * Search for a cell in the contour cell list   * @param icell the x index of the cell   * @param jcell the y index of the cell   */     protected Cell search(int icell, int jcell) {           int i;           Cell current = null;                      if( cells.isEmpty() ) return null;                      for(i=0; i<cells.size(); i++) {               current = (Cell)(cells.elementAt(i));                              if(current.i == icell && current.j == jcell) return current;           }                      return null;          }}/*** This class is a structure class holding information about the* cells that the contour line passes through. Used only with IsoCurve class*/class Cell extends Object {        int i;        int j;        int face[] = new int[2];        boolean visited;        public Cell() {                       i = -1;                       j = -1;                       face[0] = IsoCurve.TERMINAL;                       face[1] = IsoCurve.TERMINAL;		     }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品综合久久| 国产女人18水真多18精品一级做| 依依成人精品视频| 欧美视频在线观看一区| 日韩和欧美一区二区三区| 欧美二区在线观看| 天堂蜜桃一区二区三区| 欧美一区二区三区视频| 激情久久五月天| 国产婷婷色一区二区三区在线| 国产精品正在播放| 一区二区成人在线观看| 555www色欧美视频| 国产91精品一区二区麻豆亚洲| 亚洲另类在线视频| 精品噜噜噜噜久久久久久久久试看 | 精品福利一二区| 丁香激情综合五月| 久久只精品国产| 精品午夜久久福利影院| 亚洲美女在线国产| 国产精品国模大尺度视频| 欧美中文字幕亚洲一区二区va在线| 男人的天堂久久精品| 亚洲欧美日韩国产手机在线 | 欧美日韩在线播放三区| 蜜桃av噜噜一区二区三区小说| 一区二区三区精品在线| 国产欧美日韩精品一区| 精品粉嫩超白一线天av| 欧美丰满高潮xxxx喷水动漫 | 日韩一级免费观看| 日日噜噜夜夜狠狠视频欧美人| 欧美人妇做爰xxxⅹ性高电影 | 精品一区二区免费| 日本va欧美va精品发布| 日本不卡一二三| 九九国产精品视频| 国产伦精品一区二区三区在线观看| 一区二区三区成人在线视频| 久久婷婷国产综合国色天香| 精品国产乱码久久久久久夜甘婷婷 | 精品美女在线观看| 久久精品亚洲国产奇米99| 久久久一区二区三区捆绑**| 欧美精品一区二区三区四区| 中日韩免费视频中文字幕| 亚洲自拍欧美精品| 久久精品久久综合| 国产精品亚洲第一区在线暖暖韩国| 免费观看日韩电影| 男人的j进女人的j一区| 国产一区二区三区av电影| 国产·精品毛片| 日韩欧美一级在线播放| 欧美激情中文不卡| 一区二区三区精品在线| 狠狠色丁香婷婷综合久久片| 99热99精品| 精品少妇一区二区三区免费观看| 国产视频在线观看一区二区三区 | 欧美午夜在线观看| 国产日产欧美一区二区三区| 麻豆精品在线播放| 欧美乱妇一区二区三区不卡视频| 国产精品丝袜一区| 一区二区三区在线免费视频| 国产一区高清在线| 91精品婷婷国产综合久久| 亚洲欧洲无码一区二区三区| 韩国一区二区在线观看| 欧美一区二区三区在线观看视频| 亚洲精品午夜久久久| 寂寞少妇一区二区三区| 欧美一级精品在线| 亚洲美女视频一区| 丁香啪啪综合成人亚洲小说 | 成人免费视频视频在线观看免费| 日韩一级大片在线| 久草这里只有精品视频| 精品美女在线观看| 粉嫩av一区二区三区在线播放| 中文在线资源观看网站视频免费不卡| 精品在线观看免费| 欧美精三区欧美精三区| 欧美国产日韩a欧美在线观看| 免费在线观看不卡| 成熟亚洲日本毛茸茸凸凹| 国产欧美一区二区在线| 国产黄人亚洲片| 亚洲电影一区二区| 久久色.com| 国产精品香蕉一区二区三区| 国产精品久久久久aaaa| 91超碰这里只有精品国产| 国产福利精品一区| 最新国产成人在线观看| 91精选在线观看| 欧美午夜片在线看| 国产成人自拍在线| 亚洲另类一区二区| 欧美精品1区2区3区| 国产高清精品网站| 亚洲一区二区三区精品在线| 久久影音资源网| 91国在线观看| 99视频热这里只有精品免费| 国产成人午夜高潮毛片| 麻豆精品视频在线| 亚洲一区二区高清| 精品国产一区二区三区忘忧草| 在线免费不卡电影| 成人一级视频在线观看| 毛片av中文字幕一区二区| 亚洲国产视频在线| 亚洲一线二线三线久久久| 国产精品免费视频网站| 中文字幕国产精品一区二区| 最好看的中文字幕久久| 亚洲品质自拍视频| 亚洲一区二区在线观看视频 | 9191成人精品久久| 日韩三级中文字幕| 91精品国产综合久久蜜臀| 正在播放一区二区| 日韩美女一区二区三区四区| 99精品桃花视频在线观看| 成人性生交大片免费看在线播放| 成人免费毛片嘿嘿连载视频| 成人一区二区三区| 91精品福利在线| 4438成人网| 亚洲黄色av一区| 激情小说欧美图片| 99国产麻豆精品| 日韩午夜精品电影| 国产日韩三级在线| 亚洲电影你懂得| 国产一区二区三区高清播放| 欧美日韩一区二区三区四区| 精品国产在天天线2019| 亚洲男人天堂av| 成人ar影院免费观看视频| 91精品国产综合久久精品性色| 国产日产欧美一区二区三区| 亚洲线精品一区二区三区八戒| 免费成人在线播放| 欧美另类一区二区三区| 中文字幕欧美一区| 国产成人一级电影| 久久亚洲春色中文字幕久久久| 亚洲综合色网站| 色综合中文字幕国产 | 视频一区在线播放| 一本大道av伊人久久综合| 久久综合久久综合九色| 石原莉奈在线亚洲三区| 色综合久久久网| 亚洲一区二区三区中文字幕在线| av一区二区不卡| 亚洲欧美一区二区视频| 麻豆精品视频在线| 2024国产精品视频| 久草精品在线观看| 6080国产精品一区二区| 日韩国产欧美三级| 精品国产乱码久久久久久浪潮| 经典三级在线一区| 久久精品人人做人人综合| 97久久超碰国产精品| 亚洲欧洲在线观看av| caoporen国产精品视频| 国产精品久久久一区麻豆最新章节| 国产麻豆精品久久一二三| 精品日韩一区二区| 麻豆一区二区99久久久久| 久久久www免费人成精品| 成人精品视频一区| 亚洲一区二区不卡免费| 91.xcao| 国内精品国产三级国产a久久| 国产日产欧美一区| 精品久久99ma| 欧美视频在线一区| 成人av高清在线| 美女脱光内衣内裤视频久久影院| 中文av字幕一区| www欧美成人18+| 欧美日韩国产一区二区三区地区| 日本不卡一区二区三区高清视频| 国产精品欧美一区喷水| 日韩一区国产二区欧美三区| 在线精品视频免费观看| 99久久精品国产毛片| 成人av影院在线| 91在线小视频| 成人国产精品免费观看视频| 成人免费精品视频| 国产精品亚洲一区二区三区在线 | 成年人网站91|