com.sun.electric.tool.routing
Class MimicStitch

java.lang.Object
  extended by com.sun.electric.tool.routing.MimicStitch

public class MimicStitch
extends java.lang.Object

This is the Mimic Stitching tool.


Constructor Summary
MimicStitch()
           
 
Method Summary
static void mimicOneArc(ArcInst ai1, int end1, ArcInst ai2, int end2, double oWidth, ArcProto oProto, double prefX, double prefY, boolean forced, Job.Type method, boolean mimicInteractive, boolean matchPorts, boolean matchPortWidth, boolean matchArcCount, boolean matchNodeType, boolean matchNodeSize, boolean noOtherArcsThisDir, boolean notAlreadyConnected, Job theJob)
          Method to do mimic stitching.
static void mimicStitch(boolean forced)
          Entry point for mimic router.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimicStitch

public MimicStitch()
Method Detail

mimicStitch

public static void mimicStitch(boolean forced)
Entry point for mimic router.

Parameters:
forced - true if this mimic operation was explicitly requested.

mimicOneArc

public static void mimicOneArc(ArcInst ai1,
                               int end1,
                               ArcInst ai2,
                               int end2,
                               double oWidth,
                               ArcProto oProto,
                               double prefX,
                               double prefY,
                               boolean forced,
                               Job.Type method,
                               boolean mimicInteractive,
                               boolean matchPorts,
                               boolean matchPortWidth,
                               boolean matchArcCount,
                               boolean matchNodeType,
                               boolean matchNodeSize,
                               boolean noOtherArcsThisDir,
                               boolean notAlreadyConnected,
                               Job theJob)
Method to do mimic stitching. It can be used during batch processing to mimic directly.

Parameters:
ai1 - the arc connected to the first port of the connection to mimic.
end1 - the end of "ai1" that defines the first port of the connection to mimic.
ai2 - the arc connected to the second port of the connection to mimic.
end2 - the end of "ai2" that defines the second port of the connection to mimic.
oWidth - the width of the arc to run.
oProto - the type of arc to run.
prefX - the preferred X position of the mimic (if there is a choice).
prefY - the preferred Y position of the mimic (if there is a choice).
forced - true if this was an explicitly requested mimic.
method - the type of job that is running (CHANGE or EXAMINE).
mimicInteractive - true to run interactively.
matchPorts - true to require port types to match.
matchPortWidth - true to require port widths to match.
matchArcCount - true to require the number of arcs to match.
matchNodeType - true to require the node types to match.
matchNodeSize - true to require the node sizes to match.
noOtherArcsThisDir - true to require that no other arcs exist in the same direction.
notAlreadyConnected - true to require that the connection not already be made with other arcs.
theJob - the job that is running this mimic operation