public class AutoStitch
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AutoStitch.AutoOptions
Class to package Preferences for the server.
|
Modifier and Type | Method and Description |
---|---|
static void |
autoStitch(boolean highlighted,
boolean forced)
Method to do auto-stitching.
|
static void |
runAutoStitch(Cell cell,
java.util.List<NodeInst> nodesToStitch,
java.util.List<ArcInst> arcsToStitch,
Job job,
PolyMerge stayInside,
java.awt.geom.Rectangle2D limitBound,
boolean forced,
AutoStitch.AutoOptions prefs,
boolean showProgress)
This is the public interface for Auto-stitching when done in batch mode.
|
public static void autoStitch(boolean highlighted, boolean forced)
highlighted
- true to stitch only the highlighted objects.
False to stitch the entire current cell.forced
- true if the stitching was explicitly requested (and so results should be printed).public static void runAutoStitch(Cell cell, java.util.List<NodeInst> nodesToStitch, java.util.List<ArcInst> arcsToStitch, Job job, PolyMerge stayInside, java.awt.geom.Rectangle2D limitBound, boolean forced, AutoStitch.AutoOptions prefs, boolean showProgress)
cell
- the cell in which to stitch.nodesToStitch
- a list of NodeInsts to stitch (null to use all in the cell).arcsToStitch
- a list of ArcInsts to stitch (null to use all in the cell).job
- the Job running this, for aborting.stayInside
- is the area in which to route (null to route arbitrarily).limitBound
- if not null, only consider connections that occur in this area.forced
- true if the stitching was explicitly requested (and so results should be printed).prefs
- routing preferences.showProgress
- true to show progress.