Matrix3x2.GetElement(Int32, Int32) 方法

定义

获取指定行和列处的元素。

public:
 float GetElement(int row, int column);
public readonly float GetElement(int row, int column);
member this.GetElement : int * int -> single
Public Function GetElement (row As Integer, column As Integer) As Single

参数

row
Int32

包含要获取的元素的行的索引。

column
Int32

包含要获取的元素的列的索引。

返回

索引处的元素:[rowcolumn]。

例外

row 小于零或大于或等于行数(3)。

-或-

column 小于零或大于或等于列数(2)。

适用于