|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.database.topology.Topology
public class Topology
A class to manage nodes and arcs of a Cell.
| Constructor Summary | |
|---|---|
Topology(Cell cell,
boolean loadBackup)
Creates a new instance of Topology |
|
| Method Summary | |
|---|---|
ImmutableArcInst[] |
backupArcs(ImmutableArrayList<ImmutableArcInst> oldArcs)
|
void |
check()
Method to check invariants in this Cell. |
void |
computeArcBounds()
Low-level routine. |
ArcInst |
findArc(java.lang.String name)
Method to find a named ArcInst on this Cell. |
ArcInst |
getArc(int arcIndex)
Method to return the ArcInst at specified position. |
ArcInst |
getArcById(int arcId)
Method to return the ArcInst by its chronological index. |
int[] |
getArcIndexByArcIdMap()
|
java.util.Iterator<ArcInst> |
getArcs()
Method to return an Iterator over all ArcInst objects in this Cell. |
int |
getNumArcs()
Method to return the number of ArcInst objects in this Cell. |
RTNode |
getRTree()
Method to R-Tree of this Cell. |
void |
rebuildRTree()
|
java.util.Iterator<RTBounds> |
searchIterator(java.awt.geom.Rectangle2D bounds,
boolean includeEdges)
Method to return an interator over all RTBounds objects in a given area of this Cell that allows to ignore elements touching the area. |
void |
unfreshRTree()
|
void |
updateArcs(CellRevision newRevision)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Topology(Cell cell,
boolean loadBackup)
| Method Detail |
|---|
public java.util.Iterator<ArcInst> getArcs()
public int getNumArcs()
public final ArcInst getArc(int arcIndex)
arcIndex - specified position of ArcInst.
public ArcInst getArcById(int arcId)
arcId - chronological index of ArcInst.
public int[] getArcIndexByArcIdMap()
public ArcInst findArc(java.lang.String name)
name - the name of the ArcInst.
public ImmutableArcInst[] backupArcs(ImmutableArrayList<ImmutableArcInst> oldArcs)
public void updateArcs(CellRevision newRevision)
public void computeArcBounds()
public java.util.Iterator<RTBounds> searchIterator(java.awt.geom.Rectangle2D bounds,
boolean includeEdges)
bounds - the specified area to search.includeEdges - true if RTBounds objects along edges are considered in.
public void unfreshRTree()
public RTNode getRTree()
public void rebuildRTree()
public void check()
java.lang.AssertionError - if invariants are not valid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||