toxi.sim.dla
Class DLAGuideLines

java.lang.Object
  extended by toxi.sim.dla.DLAGuideLines

public class DLAGuideLines
extends java.lang.Object


Field Summary
 java.util.Iterator<DLASegment> iterator
           
 java.util.SortedSet<DLASegment> segments
           
 
Constructor Summary
DLAGuideLines()
           
DLAGuideLines(java.util.Comparator<toxi.geom.Line3D> comparator)
           
 
Method Summary
 DLAGuideLines addCurveStrip(java.util.List<toxi.geom.Vec3D> points)
          Deprecated. use addPointList(List) instead
 DLAGuideLines addLine(toxi.geom.Line3D l)
           
 DLAGuideLines addLine(toxi.geom.Vec3D a, toxi.geom.Vec3D b)
           
 DLAGuideLines addPoint(toxi.geom.Vec3D p)
           
 DLAGuideLines addPointList(java.util.List<toxi.geom.Vec3D> points)
           
 double getCurrentSegmentPos()
           
 toxi.geom.Vec3D getDirection()
           
 toxi.geom.Vec3D getPoint()
           
 boolean isComplete()
           
 DLAGuideLines reset()
           
 DLASegment updatePoint(double delta)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

segments

public java.util.SortedSet<DLASegment> segments

iterator

public java.util.Iterator<DLASegment> iterator
Constructor Detail

DLAGuideLines

public DLAGuideLines()

DLAGuideLines

public DLAGuideLines(java.util.Comparator<toxi.geom.Line3D> comparator)
Method Detail

addCurveStrip

@Deprecated
public DLAGuideLines addCurveStrip(java.util.List<toxi.geom.Vec3D> points)
Deprecated. use addPointList(List) instead

Parameters:
points -
Returns:
itself

addLine

public DLAGuideLines addLine(toxi.geom.Line3D l)

addLine

public DLAGuideLines addLine(toxi.geom.Vec3D a,
                             toxi.geom.Vec3D b)

addPoint

public DLAGuideLines addPoint(toxi.geom.Vec3D p)

addPointList

public DLAGuideLines addPointList(java.util.List<toxi.geom.Vec3D> points)

getCurrentSegmentPos

public double getCurrentSegmentPos()

getDirection

public toxi.geom.Vec3D getDirection()

getPoint

public toxi.geom.Vec3D getPoint()

isComplete

public boolean isComplete()

reset

public DLAGuideLines reset()

updatePoint

public DLASegment updatePoint(double delta)