|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object path.VertexPath
public class VertexPath
A VertexPath is a polygonal path which is constructed from a list of vertices.
Constructor Summary | |
---|---|
VertexPath(Collection<Complex> vertex_list)
Construct from a collection of coordinates for vertices. |
|
VertexPath(Complex... vertices)
Construct from a list of complex numbers. |
|
VertexPath(PolygonalPath p)
Convert p into a VertexPath. |
|
VertexPath(PolygonalPath p,
PlanarMap f)
Construct the image of the path p under the map f. |
Method Summary | |
---|---|
Complex |
endingPoint()
Return the ending point of the path. |
EdgeIterator |
iterator()
Return an iterator over the segments making up the path. |
Complex |
startingPoint()
Return the starting point of the path. |
String |
toString()
Return a string representing the polygonal path |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VertexPath(Collection<Complex> vertex_list)
public VertexPath(Complex... vertices)
public VertexPath(PolygonalPath p)
public VertexPath(PolygonalPath p, PlanarMap f)
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 |