Package org.jlab.rec.cvt.track
Class Cell
java.lang.Object
org.jlab.rec.cvt.track.Cell
- All Implemented Interfaces:
- Comparable<Cell>
Base cell for the cellular automaton A cell is defined by two crosses and its
 state
- Author:
- fbossu
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddNeighbour(Cell b) intintbooleanbooleangetC1()getC2()javax.vecmath.Point2dgetCrs2D(int i) javax.vecmath.Point2dgetDir()javax.vecmath.Vector2dgetDir2D()javax.vecmath.Vector2ddoublegetPlane()intgetState()voidgetState(int _state) booleanisUsed()voidvoidvoidvoidvoidsetUsed(boolean _used) toString()
- 
Constructor Details- 
Cellpublic Cell()
- 
Cell
- 
Cell
 
- 
- 
Method Details- 
compareTo- Specified by:
- compareToin interface- Comparable<Cell>
 
- 
compare
- 
getLengthpublic double getLength()
- 
getCrs2Dpublic javax.vecmath.Point2d getCrs2D(int i) 
- 
getCrs2D
- 
getDir2Dpublic javax.vecmath.Vector2d getDir2D()
- 
getDir2D
- 
toString
- 
equals
- 
contains
- 
addNeighbour
- 
getNeighbors
- 
getC1
- 
setC1
- 
getC2
- 
setC2
- 
getDir
- 
setDir
- 
getStatepublic int getState()
- 
getStatepublic void getState(int _state) 
- 
getPlane
- 
setPlane
- 
isUsedpublic boolean isUsed()
- 
setUsedpublic void setUsed(boolean _used) 
 
-