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

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

?? geometric.java

?? The ElectricTM VLSI Design System is an open-source Electronic Design Automation (EDA) system that c
?? JAVA
字號(hào):
/* -*- tab-width: 4 -*- * * Electric(tm) VLSI Design System * * File: Geometric.java * * Copyright (c) 2003 Sun Microsystems and Static Free Software * * Electric(tm) is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Electric(tm) is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Electric(tm); see the file COPYING.  If not, write to * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, Mass 02111-1307, USA. */package com.sun.electric.database.topology;import com.sun.electric.database.geometry.DBMath;import com.sun.electric.database.geometry.Poly;import com.sun.electric.database.hierarchy.Cell;import com.sun.electric.database.hierarchy.EDatabase;import com.sun.electric.database.variable.ElectricObject;import java.awt.geom.Point2D;import java.awt.geom.Rectangle2D;import java.util.Iterator;/** * This class is the superclass for the Electric classes that have visual * bounds on the screen, specifically NodeInst and ArcInst. */public abstract class Geometric extends ElectricObject implements RTBounds{	// ------------------------------- private data ------------------------------	/** Cell containing this Geometric object. */			protected final Cell parent;	// ------------------------ private and protected methods--------------------	/**	 * The constructor is only called from subclasses.	 */	protected Geometric(Cell parent) {        this.parent = parent;    }	/**	 * Method to describe this Geometric as a string.	 * This method is overridden by NodeInst and ArcInst.     * @param withQuotes to wrap description between quotes	 * @return a description of this Geometric as a string.	 */	public String describe(boolean withQuotes) { return "?"; }	/**	 * Routing to check whether changing of this cell allowed or not.	 * By default checks whole database change. Overriden in subclasses.	 */	public void checkChanging() { if (parent != null) parent.checkChanging(); }	/**	 * Method to determine the appropriate Cell associated with this ElectricObject.	 * @return the appropriate Cell associated with this ElectricicObject.	 */	public Cell whichCell() { return parent; }	/**	 * Method to determine which page of a multi-page schematic this Geometric is on.	 * @return the page number (0-based).	 */	public int whichMultiPage()	{		int pageNo = 0;		if (parent.isMultiPage())		{			double cY = getBounds().getCenterY();			pageNo = (int)((cY+Cell.FrameDescription.MULTIPAGESEPARATION/2) / Cell.FrameDescription.MULTIPAGESEPARATION);		}		return pageNo;	}	/**	 * Returns database to which this Geometric belongs.	 * Some objects are not in database, for example Geometrics in PaletteFrame.     * Method returns null for non-database objects.     * @return database to which this Geometric belongs.	 */	public EDatabase getDatabase() { return parent != null ? parent.getDatabase() : null; }	/**	 * Method to write a description of this Geometric.	 * Displays the description in the Messages Window.	 */	public void getInfo()	{		Rectangle2D visBounds = getBounds();		System.out.println(" Bounds: (" + visBounds.getCenterX() + "," + visBounds.getCenterY() + "), size: " +			visBounds.getWidth() + "x" + visBounds.getHeight());		System.out.println(" Parent: " + parent);        super.getInfo();	}	// ------------------------ public methods -----------------------------	/**	 * Method to return the Cell that contains this Geometric object.	 * @return the Cell that contains this Geometric object.	 */	public Cell getParent() { return parent; }    /**     * Returns the polygons that describe this Geometric.     * @param polyBuilder Poly builder.     * @return an iterator on Poly objects that describes this Geometric graphically.     * These Polys include displayable variables on the Geometric.     */    public abstract Iterator<Poly> getShape(Poly.Builder polyBuilder);    	/**	 * Method to return the bounds of this Geometric.	 * @return the bounds of this Geometric.	 */	public abstract Rectangle2D getBounds();    	/**	 * Method to fill the bounds of this Geometric in lambda units into specified Rectangle2D.     * If specified Rectangle2D is null, a new Rectangle2D.Double is allocated.     * @param r rectangle to fill	 * @return the bounds of this Geometric.	 */    public Rectangle2D getLambdaBounds(Rectangle2D r) {        if (r == null) r = new Rectangle2D.Double();        r.setRect(getBounds());        return r;    }	/**	 * Method to fill the bounds of this Geometric in grid units into specified Rectangle2D.     * If specified Rectangle2D is null, a new Rectangle2D.Double is allocated.     * @param r rectangle to fill	 * @return the bounds of this Geometric.	 */    public Rectangle2D getGridBounds(Rectangle2D r) {        if (r == null) r = new Rectangle2D.Double();        Rectangle2D bounds = getBounds();        long minX = DBMath.lambdaToGrid(bounds.getMinX());        long minY = DBMath.lambdaToGrid(bounds.getMinY());        long maxX = DBMath.lambdaToGrid(bounds.getMaxX());        long maxY = DBMath.lambdaToGrid(bounds.getMaxY());        r.setRect(minX, minY, maxX - minX, maxY - minY);        return r;    }	/**	 * Method to return the center X coordinate of this Geometric.	 * @return the center X coordinate of this Geometric.	 */	public double getTrueCenterX() { return getBounds().getCenterX(); }	/**	 * Method to return the center Y coordinate of this Geometric.	 * @return the center Y coordinate of this Geometric.	 */	public double getTrueCenterY() { return getBounds().getCenterY(); }	/**	 * Method to return the center coordinate of this Geometric.	 * @return the center coordinate of this Geometric.	 */	public Point2D getTrueCenter() { return new Point2D.Double(getTrueCenterX(), getTrueCenterY()); }    /**     * Method to tell whether this Geometric object is connected directly to another     * (that is, an arcinst connected to a nodeinst).     * The method returns true if they are connected.     * @param geom other Geometric object.     * @return true if this and other Geometric objects are connected.     */    public abstract boolean isConnected(Geometric geom);}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久狠狠亚洲综合| 日韩一区欧美小说| 青青国产91久久久久久| 欧美精品tushy高清| 日本亚洲欧美天堂免费| 欧美一级xxx| 国产一区在线看| 中文av一区特黄| 色婷婷av一区二区三区之一色屋| 亚洲一区中文日韩| 日韩一区二区三区四区| 久久99精品久久久久| 久久精品免视看| 91在线国产观看| 日韩精品久久理论片| 精品国产成人在线影院| www.欧美色图| 亚洲高清不卡在线| 欧美精品一区二区高清在线观看| 国产成人在线观看| 亚洲靠逼com| 日韩欧美一级精品久久| 韩国视频一区二区| 《视频一区视频二区| 91麻豆精品国产91| 成人丝袜视频网| 性做久久久久久免费观看| 欧美精品一区视频| 91丨九色丨黑人外教| 人人狠狠综合久久亚洲| 国产精品日产欧美久久久久| 在线免费观看成人短视频| 美国十次综合导航| 亚洲精品欧美二区三区中文字幕| 91精品麻豆日日躁夜夜躁| 成人免费看片app下载| 日韩精品视频网站| 亚洲一区二区在线观看视频| 久久久欧美精品sm网站| 在线亚洲一区二区| 国产精品一区专区| 亚洲成人免费看| 欧美激情综合在线| 欧美一区二区视频在线观看2020 | 国产真实精品久久二三区| xvideos.蜜桃一区二区| 久久99国产精品麻豆| 亚洲精品国产精品乱码不99| 亚洲欧洲精品一区二区三区| 成人免费在线观看入口| 自拍偷拍国产精品| 日韩毛片精品高清免费| 日韩美女精品在线| 亚洲在线一区二区三区| 午夜精品久久久久久久| 日韩av高清在线观看| 蜜桃av一区二区| 精彩视频一区二区三区| 国产精品99久| 91一区二区在线观看| 欧美在线观看视频一区二区| 7777精品伊人久久久大香线蕉| 日韩一卡二卡三卡国产欧美| 精品国产网站在线观看| 国产精品理论片| 亚洲国产精品尤物yw在线观看| 日本成人在线视频网站| 国产一级精品在线| 97久久超碰国产精品| 欧美日韩另类一区| 日韩精品一区二区三区中文精品| 久久久久久亚洲综合影院红桃 | 国产精品第四页| 亚洲福利视频导航| 久久er99热精品一区二区| 福利一区二区在线| 欧美亚洲国产怡红院影院| 日韩三级免费观看| 亚洲婷婷在线视频| 青青草精品视频| 99久久精品国产毛片| 亚洲另类中文字| 蜜臀久久99精品久久久久宅男| 国产精品综合网| 欧美最新大片在线看| 精品国产免费视频| 一区二区三区在线视频观看| 麻豆专区一区二区三区四区五区| 国产精品538一区二区在线| 91看片淫黄大片一级| 欧美成人欧美edvon| 国产精品国产a级| 秋霞成人午夜伦在线观看| 99久久精品国产精品久久| 日韩女同互慰一区二区| 亚洲品质自拍视频| 国产精品亚洲午夜一区二区三区| 欧美在线小视频| 久久久久久久综合| 视频一区二区国产| 99久久99久久精品国产片果冻 | 国内精品伊人久久久久影院对白| 色婷婷久久一区二区三区麻豆| 亚洲精品一线二线三线| 亚洲国产精品嫩草影院| 丁香一区二区三区| 精品国产亚洲在线| 五月婷婷激情综合| 日本高清视频一区二区| 国产欧美1区2区3区| 老司机一区二区| 欧美日本乱大交xxxxx| 亚洲青青青在线视频| 国产高清无密码一区二区三区| 正在播放亚洲一区| 亚洲亚洲精品在线观看| proumb性欧美在线观看| 国产偷国产偷亚洲高清人白洁 | 成人h动漫精品| 精品乱人伦小说| 奇米影视7777精品一区二区| 在线视频国内自拍亚洲视频| 国产精品久久久久国产精品日日| 国产一区 二区 三区一级| 日韩欧美亚洲另类制服综合在线| 一区二区成人在线观看| 日本高清无吗v一区| 亚洲女同女同女同女同女同69| 国产91在线观看| 国产色婷婷亚洲99精品小说| 另类中文字幕网| 精品国产乱码久久久久久闺蜜| 日本aⅴ亚洲精品中文乱码| 欧美疯狂做受xxxx富婆| 亚洲成人午夜影院| 欧美日本在线播放| 性欧美疯狂xxxxbbbb| 欧美三级中文字幕在线观看| 亚洲午夜一区二区三区| 91精品办公室少妇高潮对白| 亚洲综合视频在线| 在线精品亚洲一区二区不卡| 一级做a爱片久久| 欧美亚洲禁片免费| 天天色天天操综合| 日韩一二三四区| 经典三级视频一区| 日本一区二区动态图| 不卡一卡二卡三乱码免费网站| 国产精品国产成人国产三级| 91福利视频在线| 日本中文字幕一区二区有限公司| 日韩一区二区免费高清| 国产在线精品一区在线观看麻豆| 久久精品一区二区| 9i看片成人免费高清| 一级特黄大欧美久久久| 欧美精品日韩精品| 国产一区二区0| 亚洲欧美日韩国产手机在线 | 日韩欧美一区二区不卡| 国产一区二区三区蝌蚪| 最新不卡av在线| 欧美伦理视频网站| 国产中文字幕精品| 亚洲精品国产无天堂网2021| 欧美一区二区视频观看视频| 黄页视频在线91| 亚洲乱码中文字幕综合| 日韩丝袜美女视频| 高清国产一区二区| 亚洲精品国产无天堂网2021| 欧美欧美欧美欧美| 美女视频一区在线观看| 国产精品天天看| 在线亚洲+欧美+日本专区| 日韩激情一二三区| 中文字幕成人av| 在线视频一区二区免费| 日本视频免费一区| 欧美另类变人与禽xxxxx| 久久福利资源站| 国产精品无人区| 国产成人自拍网| 亚洲成a人v欧美综合天堂下载| 日韩一区二区免费在线电影 | 国产乱子轮精品视频| 亚洲欧美日韩国产手机在线| 欧美日韩国产一级片| 蜜臀av国产精品久久久久| 亚洲六月丁香色婷婷综合久久| 欧美一区二区三区喷汁尤物| 国产精品自拍在线| 国产精品人人做人人爽人人添| 日韩视频免费观看高清完整版| 成人在线视频一区| 视频一区二区中文字幕| 亚洲精品视频免费看| 日韩美女一区二区三区| 99综合电影在线视频|