Modifier and Type | Class and Description |
---|---|
protected class |
Geometry.CellGeom
Class to store polygon geometry of a cell
|
protected static class |
Geometry.PolyWithGeom
Class for managing polygons that are associated with geometry.
|
class |
Geometry.Visitor |
Output.OutputPreferences, Output.WriteJELIB
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<Cell,Geometry.CellGeom> |
cellGeoms
HashMap of all CellGeoms
|
protected int |
numCells
number of unique cells to process
|
protected int |
numVisited
number of unique cells processed
|
protected Cell |
topCell
top-level cell being processed
|
dataOutputStream, errorLogger, filePath, printWriter, quiet, stringWriter
Modifier and Type | Method and Description |
---|---|
protected abstract void |
done()
Abstract method called after traversal
|
static int |
getMaxHierDepth(Cell cell)
get the max hierarchical depth of the hierarchy
|
protected boolean |
includeGeometric()
Overridable method to determine whether or not to include the original Geometric with a Poly
|
protected boolean |
mergeGeom(int hierLevelsFromBottom)
Overridable method to determine whether or not to merge geometry
|
protected abstract void |
start()
Abstract method called before hierarchy traversal
|
boolean |
writeCell(Cell cell,
VarContext context)
Write cell to file
|
boolean |
writeCell(Cell cell,
VarContext context,
Geometry.Visitor visitor)
Write cell to file
|
protected abstract void |
writeCellGeom(Geometry.CellGeom cellGeom)
Abstract method to write CellGeom to disk
|
closeBinaryOutputStream, closeStringsOutputStream, closeTextOutputStream, emitCopyright, exportCellCommand, finishWrite, getAreaToPrint, getNumErrors, getNumWarnings, getOutputPreferences, openBinaryOutputStream, openStringsOutputStream, openTextOutputStream, reportError, reportWarning, saveJelib, setContinuationString, setOutputWidth, writeLibrary, writeLibrary, writePanicSnapshot, writeWidthLimited
protected int numVisited
protected int numCells
protected Cell topCell
protected java.util.HashMap<Cell,Geometry.CellGeom> cellGeoms
public boolean writeCell(Cell cell, VarContext context)
public boolean writeCell(Cell cell, VarContext context, Geometry.Visitor visitor)
protected abstract void start()
protected abstract void done()
protected abstract void writeCellGeom(Geometry.CellGeom cellGeom)
protected boolean mergeGeom(int hierLevelsFromBottom)
protected boolean includeGeometric()
public static int getMaxHierDepth(Cell cell)