cs252proj.api
Class  Point2DPair
java.lang.Object
  |
  +--cs252proj.api.Point2DPair
- public class Point2DPair
- extends java.lang.Object
  
A utility class containing two points.
| 
Field Summary | 
protected  jdsl.geomobj.api.Point2D | 
m_point1
 
            | 
protected  jdsl.geomobj.api.Point2D | 
m_point2
 
            | 
 
| 
Constructor Summary | 
Point2DPair(jdsl.geomobj.api.Point2D point1,
            jdsl.geomobj.api.Point2D point2)
 
            | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
m_point1
protected jdsl.geomobj.api.Point2D m_point1
m_point2
protected jdsl.geomobj.api.Point2D m_point2
Point2DPair
public Point2DPair(jdsl.geomobj.api.Point2D point1,
                   jdsl.geomobj.api.Point2D point2)
- Parameters:
 point1 - the first point in the pair.point2 - the second point in the pair.
 
getPoint1
public jdsl.geomobj.api.Point2D getPoint1()
- Returns:
 - the first point in the pair.
 
 
getPoint2
public jdsl.geomobj.api.Point2D getPoint2()
- Returns:
 - the second point in the pair.