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.


Nested Class Summary
static class MimicStitch.MimicOptions
          Class to package Preferences for the server.
 
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, MimicStitch.MimicOptions prefs, 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,
                               MimicStitch.MimicOptions prefs,
                               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).
prefs - stitching preferences.
theJob - the job that is running this mimic operation