public class MimicStitch
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MimicStitch.MimicOptions
Class to package Preferences for the server.
|
Constructor and Description |
---|
MimicStitch() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static void mimicStitch(boolean forced)
forced
- true if this mimic operation was explicitly requested.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)
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