Class Cell

java.lang.Object
org.jlab.rec.cvt.track.Cell
All Implemented Interfaces:
Comparable<Cell>

public class Cell extends Object implements Comparable<Cell>
Base cell for the cellular automaton A cell is defined by two crosses and its state
Author:
fbossu
  • Constructor Details Link icon

  • Method Details Link icon

    • compareTo Link icon

      public int compareTo(Cell arg0)
      Specified by:
      compareTo in interface Comparable<Cell>
    • compare Link icon

      public int compare(Cell c, Cell k)
    • getLength Link icon

      public double getLength()
    • getCrs2D Link icon

      public javax.vecmath.Point2d getCrs2D(int i)
    • getCrs2D Link icon

      public javax.vecmath.Point2d getCrs2D(int i, String vw)
    • getDir2D Link icon

      public javax.vecmath.Vector2d getDir2D()
    • getDir2D Link icon

      public javax.vecmath.Vector2d getDir2D(String vw)
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • equals Link icon

      public boolean equals(Cell c)
    • contains Link icon

      public boolean contains(Cross x)
    • addNeighbour Link icon

      public void addNeighbour(Cell b)
    • getNeighbors Link icon

      public List<Cell> getNeighbors()
    • getC1 Link icon

      public Cross getC1()
    • setC1 Link icon

      public void setC1(Cross _c1)
    • getC2 Link icon

      public Cross getC2()
    • setC2 Link icon

      public void setC2(Cross _c2)
    • getDir Link icon

      public Vector3D getDir()
    • setDir Link icon

      public void setDir(Vector3D dir)
    • getState Link icon

      public int getState()
    • getState Link icon

      public void getState(int _state)
    • getPlane Link icon

      public String getPlane()
    • setPlane Link icon

      public void setPlane(String _plane)
    • isUsed Link icon

      public boolean isUsed()
    • setUsed Link icon

      public void setUsed(boolean _used)