at.tuwien.ifs.somtoolbox.structures
Class ComponentLine3D

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

public class ComponentLine3D
extends ElementWithIndex

We desperately needed a 3D version of this.

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

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

ComponentLine3D

public ComponentLine3D(Point3d[] points)

ComponentLine3D

public ComponentLine3D(Point3d[] points,
                       Integer index)
Method Detail

get

public Point3d get(int index)

getPoints

public Point3d[] getPoints()

getLength

public int getLength()