public enum MatrixType extends Enum<MatrixType>
列挙型定数と説明 |
---|
MT_2D_2x3
次の値を含む2行3列の2Dアフィン変換行列。
|
MT_2D_3x3
3行3列の2D変換行列。
|
MT_3D_3x4
次の値を含む3行4列の3Dアフィン変換行列。
|
MT_3D_4x4
4行4列の3D変換行列。
|
修飾子と型 | メソッドと説明 |
---|---|
int |
columns()
このタイプの行列の列数を返します。
|
int |
elements()
このタイプの行列の要素数を返します。
|
boolean |
is2D()
これが2D変換行列であるかどうかを指定します。
|
int |
rows()
このタイプの行列の行数を返します。
|
static MatrixType |
valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。
|
static MatrixType[] |
values()
この列挙型の定数を含む配列を、宣言されている順序で返します。
|
public static final MatrixType MT_2D_2x3
mxx, mxy, tx, myx, myy, ty
public static final MatrixType MT_2D_3x3
mxx, mxy, tx, myx, myy, ty, 0, 0, 1
public static final MatrixType MT_3D_3x4
mxx, mxy, mxz, tx, myx, myy, myz, ty, mzx, mzy, mzz, tz
public static final MatrixType MT_3D_4x4
mxx, mxy, mxz, tx, myx, myy, myz, ty, mzx, mzy, mzz, tz, 0, 0, 0, 1
public static MatrixType[] values()
for (MatrixType c : MatrixType.values()) System.out.println(c);
public static MatrixType valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- 指定された名前を持つ定数をこの列挙型が持っていない場合NullPointerException
- 引数がnullの場合public int elements()
public int rows()
public int columns()
public boolean is2D()
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.