Documentation of 'math.geom2d.line.DegeneratedLine2DException' Java class
DegeneratedLine2DException
math.geom2d.line

Class DegeneratedLine2DException

  • All Implemented Interfaces:
    java.io.Serializable


    public class DegeneratedLine2DException
    extends java.lang.RuntimeException
    A degenerated line, whose direction vector is undefined, had been encountered. This kind of exception can occur during polygon or polylines algorithms, when polygons have multiple vertices.
    Since:
    0.9.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      LinearShape2D getLine() 
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DegeneratedLine2DException

        public DegeneratedLine2DException(java.lang.String msg,
                                          LinearShape2D line)
        Parameters:
        msg - the error message
        line - the degenerated line
      • DegeneratedLine2DException

        public DegeneratedLine2DException(LinearShape2D line)
        Parameters:
        line - the degenerated line

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.