public class SquareCrossClustersIntoGrids
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
invalid |
| Constructor and Description |
|---|
SquareCrossClustersIntoGrids() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkPreconditions(java.util.List<SquareNode> cluster)
Checks basic preconditions.
|
org.ddogleg.struct.FastQueue<SquareGrid> |
getGrids() |
void |
process(java.util.List<java.util.List<SquareNode>> clusters)
Converts all the found clusters into grids, if they are valid.
|
protected void |
processCluster(java.util.List<SquareNode> cluster)
Converts the cluster into a grid data structure.
|
void |
setVerbose(boolean verbose) |
public void process(java.util.List<java.util.List<SquareNode>> clusters)
clusters - List of clustersprotected boolean checkPreconditions(java.util.List<SquareNode> cluster)
protected void processCluster(java.util.List<SquareNode> cluster)
public org.ddogleg.struct.FastQueue<SquareGrid> getGrids()
public void setVerbose(boolean verbose)