com.graphbuilder.curve
Class Polyline

java.lang.Object
  extended bycom.graphbuilder.curve.Curve
      extended bycom.graphbuilder.curve.Polyline

public class Polyline
extends Curve

A polyline is a sequence of connected line segments based on the control-path points specified by the group-iterator.


Field Summary
 
Fields inherited from class com.graphbuilder.curve.Curve
connect, cp, gi
 
Constructor Summary
Polyline(ControlPath cp, GroupIterator gi)
           
 
Method Summary
 void appendTo(MultiPath mp)
          Appends a sequence of points defined by this curve to the multi-path.
 
Methods inherited from class com.graphbuilder.curve.Curve
getConnect, getControlPath, getGroupIterator, resetMemory, setConnect, setControlPath, setGroupIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polyline

public Polyline(ControlPath cp,
                GroupIterator gi)
Method Detail

appendTo

public void appendTo(MultiPath mp)
Description copied from class: Curve
Appends a sequence of points defined by this curve to the multi-path. If the internal state of the curve is such that it cannot be evaluated, then the specification is for this method to return quietly.

Specified by:
appendTo in class Curve
See Also:
MultiPath, BinaryCurveApproximationAlgorithm