public class VectorCache
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
VectorCache.PutRectangle |
Constructor and Description |
---|
VectorCache(Snapshot snapshot) |
Modifier and Type | Method and Description |
---|---|
void |
collectLayer(Layer layer,
CellId cellId,
boolean rotate,
VectorCache.PutRectangle putRectangle) |
java.util.Collection<Layer> |
getBadLayers() |
void |
getBoxes(CellId cellId,
Layer layer,
int offset,
int size,
int[] result) |
java.util.Collection<Layer> |
getLayers() |
ERectangle |
getLocalBounds(CellId cellId,
Layer layer) |
int |
getNumBoxes(CellId cellId,
Layer layer) |
int |
getNumFlatBoxes(CellId cellId,
Layer layer) |
java.util.List<ImmutableNodeInst> |
getSubcells(CellId cellId) |
boolean |
isBadLayer(Layer layer) |
void |
scanLayers(CellId topCellId) |
public VectorCache(Snapshot snapshot)
public java.util.Collection<Layer> getLayers()
public java.util.Collection<Layer> getBadLayers()
public boolean isBadLayer(Layer layer)
public void scanLayers(CellId topCellId)
public java.util.List<ImmutableNodeInst> getSubcells(CellId cellId)
public ERectangle getLocalBounds(CellId cellId, Layer layer)
public void collectLayer(Layer layer, CellId cellId, boolean rotate, VectorCache.PutRectangle putRectangle)