Package | Description |
---|---|
com.sun.electric.database |
Package for the Electric database.
|
com.sun.electric.technology |
Package for handling technology information.
|
com.sun.electric.tool.routing |
Package for handling the Routing tools.
|
com.sun.electric.tool.user |
Package for handling the user-interface tool.
|
com.sun.electric.util.math |
Modifier and Type | Method and Description |
---|---|
EDimension |
EditingPreferences.getAlignmentToGrid()
Method to return the default alignment of objects to the grid.
|
EDimension[] |
EditingPreferences.getAlignmentToGridVector()
Method to return an array of five grid alignment values.
|
Modifier and Type | Method and Description |
---|---|
EditingPreferences |
EditingPreferences.withAlignment(EDimension[] dist,
int current)
Method to set the default alignment of objects to the grid.
|
Modifier and Type | Method and Description |
---|---|
EDimension |
PrimitiveNode.getAutoGrowth()
Method to get the auto-growth factor for this PrimitiveNode.
|
EDimension |
PrimitiveNode.getFactoryDefaultBaseDimension()
Method to return the factory default base dimension of this PrimitiveNode.
|
Modifier and Type | Method and Description |
---|---|
EDimension |
RouteElementPort.getNodeSize()
Get the size of a newNode, or the NodeInst an existingPortInst
is attached to.
|
Modifier and Type | Method and Description |
---|---|
protected static RouteElementArc |
InteractiveRouter.addConnectingArc(Route route,
Cell cell,
RouteElementPort startRE,
RouteElementPort endRE,
java.awt.geom.Point2D startPoint,
java.awt.geom.Point2D endPoint,
ArcProto arc,
double width,
int arcAngle,
boolean extendArcHead,
boolean extendArcTail,
PolyMerge stayInside,
EDimension alignment) |
protected RouteElementPort |
InteractiveRouter.bisectArc(Route route,
ArcInst arc,
java.awt.geom.Point2D bisectPoint,
PolyMerge stayInside,
EDimension alignment)
Splits an arc at bisectPoint and updates the route to reflect the change.
|
Route |
VerticalRoute.buildRoute(Cell cell,
java.awt.geom.Point2D location,
EDimension contactSize,
int arcAngle,
PolyMerge stayInside,
EditingPreferences ep,
java.lang.Boolean evenHor)
Builds a Route using the specification from specifyRoute(), but without
connecting to startRE and endRE.
|
protected RouteElementPort |
InteractiveRouter.findArcConnectingPoint(Route route,
ArcInst arc,
java.awt.geom.Point2D connectingPoint,
PolyMerge stayInside,
EDimension alignment)
If drawing to/from an ArcInst, we may connect to some
point along the arc.
|
static java.awt.geom.Point2D |
InteractiveRouter.getClosestAngledPoint(java.awt.geom.Point2D startPoint,
java.awt.geom.Point2D clicked,
int angleIncrement,
EDimension alignment)
Method to find the closest point to the clicked point when routed from a starting point.
|
protected static void |
InteractiveRouter.getConnectingPoints(ElectricObject startObj,
ElectricObject endObj,
java.awt.geom.Point2D clicked,
java.awt.geom.Point2D startPoint,
java.awt.geom.Point2D endPoint,
Poly startPoly,
Poly endPoly,
ArcProto startArc,
ArcProto endArc,
EDimension alignment,
EditingPreferences ep)
Get the connecting points for the start and end objects of the route.
|
protected static boolean |
InteractiveRouter.getExtendArcEnd(RouteElementPort re,
java.awt.geom.Point2D point,
double arcWidth,
ArcProto arc,
int arcAngle,
boolean defExtends,
EDimension alignment) |
Route |
InteractiveRouter.planRoute(Cell cell,
ElectricObject startObj,
ElectricObject endObj,
java.awt.geom.Point2D clicked,
PolyMerge stayInside,
EditingPreferences ep,
boolean extendArcHead,
boolean extendArcTail,
java.awt.geom.Rectangle2D contactArea,
EDimension alignment)
Plan a route from startObj to endObj, taking into account
where the user clicked in the cell.
|
Route |
InteractiveRouter.planRoute(Cell cell,
ElectricObject startObj,
ElectricObject endObj,
java.awt.geom.Point2D clicked,
PolyMerge stayInside,
EditingPreferences ep,
boolean extendArcHead,
boolean extendArcTail,
java.awt.geom.Rectangle2D contactArea,
EDimension alignment,
java.lang.Boolean evenHor)
Plan a route from startObj to endObj, taking into account
where the user clicked in the cell.
|
static void |
AutoStitch.runAutoStitch(Cell cell,
java.util.List<NodeInst> nodesToStitch,
java.util.List<ArcInst> arcsToStitch,
Job job,
PolyMerge stayInside,
java.awt.geom.Rectangle2D limitBound,
boolean forced,
boolean includePureLayerNodes,
EditingPreferences ep,
AutoStitch.AutoOptions prefs,
boolean showProgress,
EDimension alignment)
This is the public interface for Auto-stitching when done in batch mode.
|
void |
RouteElementPort.setNodeSize(EDimension size,
EditingPreferences ep)
Set the size of a newNode.
|
Modifier and Type | Method and Description |
---|---|
static EDimension |
User.getAlignmentToGrid()
Method to return the default alignment of objects to the grid.
|
static EDimension[] |
User.getAlignmentToGridVector()
Method to return an array of five grid alignment values.
|
Modifier and Type | Method and Description |
---|---|
static NodeInst |
Clipboard.copyListToCell(Cell toCell,
java.util.List<Geometric> geomList,
java.util.List<DisplayedText> textList,
java.util.List<Geometric> newGeomList,
java.util.List<DisplayedText> newTextList,
java.awt.geom.Point2D delta,
boolean copyExports,
boolean fromRight,
boolean uniqueArcs,
boolean convertSchLay,
EDimension alignment,
FixpTransform inPlace,
Orientation inPlaceOrient,
NodeInst.ExpansionState expansionState,
java.util.List<NodeInst> nodesToExpand,
EditingPreferences ep)
Method to copy the list of Geometrics to a new Cell.
|
static void |
User.setAlignmentToGridVector(EDimension[] dist,
int current)
Method to set the default alignment of objects to the grid.
|
Constructor and Description |
---|
CircuitChangeJobs.AlignObjects(java.util.List<Geometric> highs,
EDimension alignment) |
Modifier and Type | Method and Description |
---|---|
static void |
DBMath.gridAlign(java.awt.geom.Point2D pt,
EDimension alignment)
Method to snap a point to the nearest database-space grid unit.
|
static void |
DBMath.gridAlign(java.awt.geom.Point2D pt,
EDimension alignment,
int direction)
Method to snap the X, Y or both coordinates of a point to the nearest
database-space grid unit
|