|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object path.PolygonalApproximation
public class PolygonalApproximation
Construct a new polygonal path which iterates through sub-paths at a certain depth. Depth zero is equivalent to the original path.
Constructor Summary | |
---|---|
PolygonalApproximation(Path path,
int subdivision_depth)
Construct a version of the path whose iterator moves over sub-paths of the given depth |
Method Summary | |
---|---|
Complex |
endingPoint()
Return the ending point of the path. |
EdgeIterator |
iterator()
Iterate over the sub-paths making up the path. |
Complex |
startingPoint()
Return the starting point of the path. |
String |
toString()
Convert the path to a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PolygonalApproximation(Path path, int subdivision_depth)
Method Detail |
---|
public EdgeIterator iterator()
iterator
in interface PolygonalPath
public Complex endingPoint()
endingPoint
in interface PolygonalPath
public Complex startingPoint()
startingPoint
in interface PolygonalPath
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |