|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object path.UnitCircleExample
public class UnitCircleExample
This demonstrates of the Path interface by constructing a circle. An instance of the UnitCircleExample class either represents the full unit circle or an arc of the unit circle.
Constructor Summary | |
---|---|
UnitCircleExample()
Construct a path representing the unit circle in the plane. |
Method Summary | |
---|---|
Complex |
endingPoint()
Return the ending point of this arc or circle. |
PathIterator |
iterator()
Return an iterator over the sub-arcs. |
static void |
main(String[] args)
Print out the first several approximations of the unit circle by polygons. |
Complex |
startingPoint()
Return the starting point of this arc or circle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnitCircleExample()
Method Detail |
---|
public Complex endingPoint()
endingPoint
in interface Path
public Complex startingPoint()
startingPoint
in interface Path
public PathIterator iterator()
iterator
in interface Path
public static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |