public class Point3dGridUtility extends java.lang.Object implements FastMarcherUtility
| Modifier and Type | Field and Description | 
|---|---|
| static boolean | defaultUseDiagonals | 
| Constructor and Description | 
|---|
| Point3dGridUtility(Point3d[][][] pnts) | 
| Modifier and Type | Method and Description | 
|---|---|
| double | distance(int p1Idx,
        int p2Idx) | 
| java.util.ArrayList<int[]> | getIndexArray() | 
| int | getNeighbour(int pIdx,
            int neighbourIdx) | 
| int | getNumNeighbours(int pIdx) | 
| boolean | isUsingDiagonals() | 
| void | useDiagonals(boolean set) | 
public Point3dGridUtility(Point3d[][][] pnts)
public void useDiagonals(boolean set)
public boolean isUsingDiagonals()
public java.util.ArrayList<int[]> getIndexArray()
public double distance(int p1Idx,
                       int p2Idx)
distance in interface FastMarcherUtilitypublic int getNeighbour(int pIdx,
                        int neighbourIdx)
getNeighbour in interface FastMarcherUtilitypublic int getNumNeighbours(int pIdx)
getNumNeighbours in interface FastMarcherUtility