public abstract class Geometric extends ElectricObject implements RTBounds
Modifier | Constructor and Description |
---|---|
protected |
Geometric()
The constructor is only called from subclasses.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
describe(boolean withQuotes)
Method to describe this Geometric as a string.
|
abstract ERectangle |
getBounds()
Method to return the bounds of this Geometric.
|
void |
getInfo()
Method to write a description of this Geometric.
|
Cell |
getParent()
Method to return the Cell that contains this Geometric object.
|
abstract java.util.Iterator<Poly> |
getShape(Poly.Builder polyBuilder)
Returns the polygons that describe this Geometric.
|
abstract Topology |
getTopology()
Method to return the Cell Topology that contains this Geometric object.
|
java.awt.geom.Point2D |
getTrueCenter()
Method to return the center coordinate of this Geometric.
|
double |
getTrueCenterX()
Method to return the center X coordinate of this Geometric.
|
double |
getTrueCenterY()
Method to return the center Y coordinate of this Geometric.
|
abstract boolean |
isConnected(Geometric geom)
Method to tell whether this Geometric object is connected directly to another
(that is, an arcinst connected to a nodeinst).
|
int |
whichMultiPage()
Method to determine which page of a multi-page schematic this Geometric is on.
|
addDisplayableVariables, addPolyList, addVar, check, checkChanging, checkExamine, checkUndoing, computeTextPoly, copyTextDescriptorFrom, delVar, getArtwork, getCode, getD, getDatabase, getDisplayableVariables, getFullDescription, getGeneric, getMutableTextDescriptor, getNumVariables, getParameterOrVariable, getParameterOrVariable, getParametersAndVariables, getReadableName, getSchematics, getTechPool, getTextBounds, getTextDescriptor, getVar, getVar, getVariables, getVarValue, getVarValue, isDatabaseObject, isDeprecatedVariable, isLinked, isParam, newDisplayVar, newDisplayVar, newVar, newVar, newVar, newVar, newVar, renameVar, renameVar, setOff, setTextDescriptor, toString, uniqueObjectName, uniqueObjectName, updateVar, updateVarCode, updateVarText, whichCell
public abstract java.lang.String describe(boolean withQuotes)
withQuotes
- to wrap description between quotespublic int whichMultiPage()
public void getInfo()
getInfo
in class ElectricObject
public Cell getParent()
public abstract Topology getTopology()
public abstract java.util.Iterator<Poly> getShape(Poly.Builder polyBuilder)
polyBuilder
- Poly builder.public abstract ERectangle getBounds()
public double getTrueCenterX()
public double getTrueCenterY()
public java.awt.geom.Point2D getTrueCenter()
public abstract boolean isConnected(Geometric geom)
geom
- other Geometric object.