math.geom2d
Class ColinearPoints2DException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by math.geom2d.ColinearPoints2DException
All Implemented Interfaces:
java.io.Serializable

public class ColinearPoints2DException
extends java.lang.RuntimeException

Exception thrown when the assumption of non colinearity is not respected. Methods are provided by retrieving the three incriminated points.

Author:
dlegland
See Also:
Serialized Form

Constructor Summary
ColinearPoints2DException(Point2D p1, Point2D p2, Point2D p3)
           
 
Method Summary
 Point2D getP1()
           
 Point2D getP2()
           
 Point2D getP3()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColinearPoints2DException

public ColinearPoints2DException(Point2D p1,
                                 Point2D p2,
                                 Point2D p3)
Method Detail

getP1

public Point2D getP1()

getP2

public Point2D getP2()

getP3

public Point2D getP3()