|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.routing.Router.ArcWidth
public static class Router.ArcWidth
Constructor Summary | |
---|---|
Router.ArcWidth(int preferredAngle)
|
Method Summary | |
---|---|
void |
findArcWidthToUse(ElectricObject routeObj,
ArcProto ap)
|
void |
findArcWidthToUse(PortInst pi,
ArcProto ap)
Get arc width to use to connect to PortInst pi. |
void |
findArcWidthToUse(Route route,
ArcProto ap)
Get arc width to use by searching for largest arc of passed type connected to any elements in the route. |
void |
findArcWidthToUse(RouteElement re,
ArcProto ap)
Get arc width to use to connect to RouteElement re. |
void |
findArcWidthToUse(RouteElementPort re,
ArcProto ap)
Get largest arc width of newArc RouteElements attached to this RouteElement. |
double |
getDefaultWidth()
|
double |
getPreferredWidth()
|
double |
getWidth()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Router.ArcWidth(int preferredAngle)
Method Detail |
---|
public double getPreferredWidth()
public double getDefaultWidth()
public double getWidth()
public void findArcWidthToUse(Route route, ArcProto ap)
route
- the route to be searchedap
- the arc typepublic void findArcWidthToUse(ElectricObject routeObj, ArcProto ap)
public void findArcWidthToUse(PortInst pi, ArcProto ap)
You may specify pi as null, in which case it just returns ap.getDefaultLambdaFullWidth().
pi
- the PortInst to connect toap
- the Arc type to connect withpublic void findArcWidthToUse(RouteElement re, ArcProto ap)
re
- the RouteElement to connect toap
- the arc type (for default width)public void findArcWidthToUse(RouteElementPort re, ArcProto ap)
Note that these width values should have been pre-adjusted for the arc width offset, so these values have had the offset subtracted away.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |