Package | Description |
---|---|
com.sun.electric.tool.routing |
Package for handling the Routing tools.
|
Modifier and Type | Method and Description |
---|---|
protected RouteElementPort |
InteractiveRouter.bisectArc(Route route,
ArcInst arc,
java.awt.geom.Point2D bisectPoint,
PolyMerge stayInside)
Splits an arc at bisectPoint and updates the route to reflect the change.
|
static RouteElementPort |
RouteElementPort.deleteNode(NodeInst nodeInstToDelete)
Factory method for making a deleteNode RouteElement
|
static RouteElementPort |
RouteElementPort.existingPortInst(PortInst existingPortInst,
EPoint portInstSite)
Factory method for making a dummy RouteElement for an
existing PortInst.
|
static RouteElementPort |
RouteElementPort.existingPortInst(PortInst existingPortInst,
Poly portInstSite)
Factory method for making a dummy RouteElement for an
existing PortInst.
|
protected RouteElementPort |
InteractiveRouter.findArcConnectingPoint(Route route,
ArcInst arc,
java.awt.geom.Point2D connectingPoint,
PolyMerge stayInside)
If drawing to/from an ArcInst, we may connect to some
point along the arc.
|
RouteElementPort |
Route.getEnd()
Get the end of the Route
|
RouteElementPort |
RouteElementArc.getHead() |
RouteElementPort |
Route.getStart()
Get the start of the Route
|
RouteElementPort |
RouteElementArc.getTail() |
static RouteElementPort |
RouteElementPort.newNode(Cell cell,
NodeProto np,
PortProto newNodePort,
java.awt.geom.Point2D location,
double width,
double height)
Factory method for making a newNode RouteElement
|
Modifier and Type | Method and Description |
---|---|
protected static void |
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) |
protected static boolean |
InteractiveRouter.getExtendArcEnd(RouteElementPort re,
double arcWidth,
ArcProto arc,
int arcAngle,
boolean defExtends) |
static RouteElementArc |
RouteElementArc.newArc(Cell cell,
ArcProto ap,
double arcBaseWidth,
RouteElementPort headRE,
RouteElementPort tailRE,
java.awt.geom.Point2D headConnPoint,
java.awt.geom.Point2D tailConnPoint,
java.lang.String name,
TextDescriptor nameTextDescriptor,
ArcInst inheritFrom,
boolean extendArcHead,
boolean extendArcTail,
PolyMerge stayInside)
Factory method for making a newArc RouteElement
|
protected boolean |
SimpleWirer.planRoute(Route route,
Cell cell,
RouteElementPort endRE,
java.awt.geom.Point2D startLoc,
java.awt.geom.Point2D endLoc,
java.awt.geom.Point2D clicked,
PolyMerge stayInside,
VerticalRoute vroute,
boolean contactsOnEndObj,
boolean extendArcHead,
boolean extendArcTail,
java.awt.geom.Rectangle2D contactArea) |
protected abstract boolean |
InteractiveRouter.planRoute(Route route,
Cell cell,
RouteElementPort endRE,
java.awt.geom.Point2D startLoc,
java.awt.geom.Point2D endLoc,
java.awt.geom.Point2D clicked,
PolyMerge stayInside,
VerticalRoute vroute,
boolean contactsOnEndObject,
boolean extendArcHead,
boolean extendArcTail,
java.awt.geom.Rectangle2D contactArea) |
boolean |
RouteElementArc.replaceArcEnd(RouteElementPort oldEnd,
RouteElementPort newEnd)
Used to update end points of new arc if they change
Only valid if called on newArcs, does nothing otherwise.
|
boolean |
Route.replaceBisectPin(RouteElementPort bisectPin,
RouteElementPort replacement)
Attempts to replace the bisectPin by replacement.
|
boolean |
Route.replaceExistingRedundantPin(RouteElementPort pinRE,
RouteElementPort replacementRE,
PolyMerge stayInside)
Attempts to replace an existing pin that has been made redundant by
some node in the route, such as a contact cut.
|
boolean |
Route.replacePin(RouteElementPort pin,
RouteElementPort replacement,
PolyMerge stayInside)
Attempts to replace pin with replacement.
|
void |
Route.setEnd(RouteElementPort endRE)
Sets the end of the Route
|
void |
Route.setStart(RouteElementPort startRE)
Sets the start of the Route
|
protected static void |
InteractiveRouter.updateContactArea(java.awt.geom.Rectangle2D contactArea,
RouteElementPort re,
java.awt.geom.Point2D cornerLoc,
double arcWidth,
int arcAngle) |