public abstract class ARRSNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ISBounds |
baseBounds |
protected CellIndexable |
cellSource |
protected int |
nodeId |
protected int[] |
path |
protected int |
siblingId |
Constructor and Description |
---|
ARRSNode()
Constructor without argument
|
ARRSNode(ARRSNode src)
Copy constructor
|
ARRSNode(ISBounds bounds)
Constructor takes a single ISBounds
|
ARRSNode(ISBounds bounds,
CellIndexable cellSource)
Constructor takes a ISbounds and a ARR cell source
|
Modifier and Type | Method and Description |
---|---|
abstract ARRSNode |
copy()
Abstract clone method
|
ISBounds |
getBaseBounds()
get the bounds of this node
|
CellIndexable |
getCellIndexable()
Get the ARR cell source
|
int |
getID()
get the id of the current node
|
int[] |
getPath()
get the path of the current node
|
ARRSNode |
getSibling(java.util.ArrayList tree)
get the sibling of the current node
|
int |
getSiblingID()
get the the id of the sibling
|
void |
setBaseBounds(ISBounds bounds)
Set the base bound value
|
void |
setCellIndexable(CellIndexable cellSource)
Set an ARR cell source
|
void |
setID(int nodeId)
Set the node ID value for an ARRS node
|
void |
setNodePath(int[] path)
Set the path value for an ARRS node
|
void |
setSibling(int sib)
Set the sibling value
|
protected int nodeId
protected int siblingId
protected ISBounds baseBounds
protected int[] path
protected CellIndexable cellSource
public ARRSNode()
public ARRSNode(ISBounds bounds)
public ARRSNode(ISBounds bounds, CellIndexable cellSource)
public ARRSNode(ARRSNode src)
public abstract ARRSNode copy()
public void setID(int nodeId)
public void setNodePath(int[] path)
public void setBaseBounds(ISBounds bounds)
public void setSibling(int sib)
public ARRSNode getSibling(java.util.ArrayList tree)
public int getID()
public int getSiblingID()
public ISBounds getBaseBounds()
public int[] getPath()
public void setCellIndexable(CellIndexable cellSource)
public CellIndexable getCellIndexable()