path
Interface Path

All Known Implementing Classes:
SubstitutionFractal, UnitCircleExample

public interface Path

A Path is a PolygonalPath so that the curves (Segments) between the vertices are again paths, which we call sub-paths. This interface is able to extend PolygonalPath because PathIterator extends EdgeIterator. That is, a PathIterator is also an EdgeIterator. So, an implementation of Path also implements PolygonalPath.


Method Summary
 Complex endingPoint()
          Return the endpoint.
 PathIterator iterator()
          Return an iterator over the sub-paths.
 Complex startingPoint()
          Return the starting point.
 

Method Detail

startingPoint

Complex startingPoint()
Return the starting point.


endingPoint

Complex endingPoint()
Return the endpoint.


iterator

PathIterator iterator()
Return an iterator over the sub-paths.



Java Tutorial for Mathematics Students