math.geom2d.line
Class DegeneratedLine2DException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- math.geom2d.line.DegeneratedLine2DException
-
- All Implemented Interfaces:
- java.io.Serializable
public class DegeneratedLine2DException extends java.lang.RuntimeExceptionA 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
-
-
Constructor Summary
Constructors Constructor and Description DegeneratedLine2DException(LinearShape2D line)DegeneratedLine2DException(java.lang.String msg, LinearShape2D line)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description LinearShape2DgetLine()
-
-
-
Constructor Detail
-
DegeneratedLine2DException
public DegeneratedLine2DException(java.lang.String msg, LinearShape2D line)- Parameters:
msg- the error messageline- the degenerated line
-
DegeneratedLine2DException
public DegeneratedLine2DException(LinearShape2D line)
- Parameters:
line- the degenerated line
-
-
Method Detail
-
getLine
public LinearShape2D getLine()
-
-
DMelt 3.0 © DataMelt by jWork.ORG