Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- compareTo(Cell)
- compare(Cell, Cell)
- getLength()
- getCrs2D(int)
- getCrs2D(int, String)
- getDir2D()
- getDir2D(String)
- toString()
- equals(Cell)
- contains(Cross)
- addNeighbour(Cell)
- getNeighbors()
- getC1()
- setC1(Cross)
- getC2()
- setC2(Cross)
- getDir()
- setDir(Vector3D)
- getState()
- getState(int)
- getPlane()
- setPlane(String)
- isUsed()
- setUsed(boolean)
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNeighbour
(Cell b) int
int
boolean
boolean
getC1()
getC2()
javax.vecmath.Point2d
getCrs2D
(int i) javax.vecmath.Point2d
getDir()
javax.vecmath.Vector2d
getDir2D()
javax.vecmath.Vector2d
double
getPlane()
int
getState()
void
getState
(int _state) boolean
isUsed()
void
void
void
void
void
setUsed
(boolean _used) toString()
-
Constructor Details
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Cell>
-
compare
-
getLength
public double getLength() -
getCrs2D
public javax.vecmath.Point2d getCrs2D(int i) -
getCrs2D
-
getDir2D
public javax.vecmath.Vector2d getDir2D() -
getDir2D
-
toString
-
equals
-
contains
-
addNeighbour
-
getNeighbors
-
getC1
-
setC1
-
getC2
-
setC2
-
getDir
-
setDir
-
getState
public int getState() -
getState
public void getState(int _state) -
getPlane
-
setPlane
-
isUsed
public boolean isUsed() -
setUsed
public void setUsed(boolean _used)
-