java.io.Serializable
public class NotAMatrix2DException
extends java.lang.RuntimeException
RuntimeException
dedicated to matrix operations in the xy-plane. It is thrown when a
transformation matrix refers to a complete 3D operation making impossible the operation with a 2D
object restricted to the xy-plane.Constructor | Description |
---|---|
NotAMatrix2DException() |
Constructs an
NotAMatrix2DException with no detail message. |
NotAMatrix2DException(double m00,
double m01,
double m02,
double m10,
double m11,
double m12,
double m20,
double m21,
double m22) |
Constructs an
NotAMatrix2DException with a default detail message outputting the given
matrix coefficients. |
NotAMatrix2DException(java.lang.String message) |
Constructs an
NotAMatrix2DException with the specified detail message. |
NotAMatrix2DException(Matrix3DReadOnly matrix) |
Constructs an
NotAMatrix2DException with a default detail message outputting the given
matrix coefficients. |
public NotAMatrix2DException()
NotAMatrix2DException
with no detail message.public NotAMatrix2DException(java.lang.String message)
NotAMatrix2DException
with the specified detail message.message
- the detail message.public NotAMatrix2DException(Matrix3DReadOnly matrix)
NotAMatrix2DException
with a default detail message outputting the given
matrix coefficients.matrix
- the matrix to be displayed in the detail message. Not modified.public NotAMatrix2DException(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
NotAMatrix2DException
with a default detail message outputting the given
matrix coefficients.m00
- the 1st row 1st column coefficient of the matrix to be displayed in the detail
message.m01
- the 1st row 2nd column coefficient of the matrix to be displayed in the detail
message.m02
- the 1st row 3rd column coefficient of the matrix to be displayed in the detail
message.m10
- the 2nd row 1st column coefficient of the matrix to be displayed in the detail
message.m11
- the 2nd row 2nd column coefficient of the matrix to be displayed in the detail
message.m12
- the 2nd row 3rd column coefficient of the matrix to be displayed in the detail
message.m20
- the 3rd row 1st column coefficient of the matrix to be displayed in the detail
message.m21
- the 3rd row 2nd column coefficient of the matrix to be displayed in the detail
message.m22
- the 3rd row 3rd column coefficient of the matrix to be displayed in the detail
message.