edu.jhu.cs.cisst.algorithms.segmentation.gac
Class GridPoint2D
java.lang.Object
Point2i
edu.jhu.cs.cisst.algorithms.segmentation.gac.GridPoint2D
- All Implemented Interfaces:
- java.lang.Comparable<GridPoint2D>
public class GridPoint2D
- extends Point2i
- implements java.lang.Comparable<GridPoint2D>
The Class GridPoint2D stores information about a narrow band node.
Constructor Summary |
GridPoint2D(int i,
int j,
int layer)
Instantiates a new grid point. |
GridPoint2D(int i,
int j,
int layer,
float value)
Instantiates a new grid point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
GridPoint2D
public GridPoint2D(int i,
int j,
int layer,
float value)
- Instantiates a new grid point.
- Parameters:
i
- the rowj
- the columnlayer
- the layervalue
- the level set value
GridPoint2D
public GridPoint2D(int i,
int j,
int layer)
- Instantiates a new grid point.
- Parameters:
i
- the rowj
- the columnlayer
- the layer
compareTo
public int compareTo(GridPoint2D gpt)
- See Also:
Comparable.compareTo(java.lang.Object)
toString
public java.lang.String toString()
- See Also:
javax.vecmath.Tuple2i#toString()