at.tuwien.ifs.somtoolbox.structures
Class DoubleVector2D

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.structures.ElementWithIndex
      extended by at.tuwien.ifs.somtoolbox.structures.DoubleVector2D

public class DoubleVector2D
extends ElementWithIndex

Version:
$Id: DoubleVector2D.java 3358 2010-02-11 14:35:07Z mayer $
Author:
Rudolf Mayer

Field Summary
(package private)  double[] vector
           
 
Fields inherited from class at.tuwien.ifs.somtoolbox.structures.ElementWithIndex
index, label
 
Constructor Summary
DoubleVector2D(double[] vector)
           
DoubleVector2D(double[] vector, int index)
           
DoubleVector2D(double[] vector, int index, String label)
           
 
Method Summary
 double get(int index)
           
 int getLength()
           
 double[] getPoints()
           
 
Methods inherited from class at.tuwien.ifs.somtoolbox.structures.ElementWithIndex
getIndex, getLabel, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vector

double[] vector
Constructor Detail

DoubleVector2D

public DoubleVector2D(double[] vector)

DoubleVector2D

public DoubleVector2D(double[] vector,
                      int index)

DoubleVector2D

public DoubleVector2D(double[] vector,
                      int index,
                      String label)
Method Detail

get

public double get(int index)

getPoints

public double[] getPoints()

getLength

public int getLength()