Class PointStack

java.lang.Object
au.edu.unsw.cse.PointStack

public class PointStack
extends java.lang.Object
This class stores the points that still need to be processed. It is not really a stack at all, but its use in 2d is analogous to the use of EdgeStack in 3d
  • Constructor Summary

    Constructors
    Constructor Description
    PointStack()  
  • Method Summary

    Modifier and Type Method Description
    Point3d getEnd()  
    Point3d getStart()  
    boolean isEmpty()  
    void put​(Point3d start, Point3d end)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PointStack

      public PointStack()
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • put

      public void put​(Point3d start, Point3d end)
    • getStart

      public Point3d getStart()
    • getEnd

      public Point3d getEnd()