at.tuwien.ifs.somtoolbox.structures
Class ComponentLine2D

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

public class ComponentLine2D
extends ElementWithIndex

2D version of a component line

Version:
$Id: ComponentLine2D.java 3358 2010-02-11 14:35:07Z mayer $
Author:
Robert Neumayer

Field Summary
private  Point2D[] points
           
 
Fields inherited from class at.tuwien.ifs.somtoolbox.structures.ElementWithIndex
index, label
 
Constructor Summary
ComponentLine2D(Point2D[] points)
           
ComponentLine2D(Point2D[] points, Integer index)
           
 
Method Summary
 Point2D get(int index)
           
 int getLength()
           
 Point2D[] 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

points

private Point2D[] points
Constructor Detail

ComponentLine2D

public ComponentLine2D(Point2D[] points)

ComponentLine2D

public ComponentLine2D(Point2D[] points,
                       Integer index)
Method Detail

get

public Point2D get(int index)

getPoints

public Point2D[] getPoints()

getLength

public int getLength()