Click or drag to resize

Mat43Item(Int32, Int32) Property

返回用户文档首页
获取或设置矩阵中指定位置的值。

Namespace: LoongCAD.Geometry
Assembly: LoongSDKCore (in LoongSDKCore.dll) Version: 0.8.15.0 (0.8.15.0)
Syntax
C#
public double this[
	int row,
	int col
] { get; set; }

Parameters

row  Int32
行索引。应该在0到2之间,对应于X, Y, Z。
col  Int32
列索引。应该在0到3之间,对应于X, Y, Z, Pos。

Return Value

Double
矩阵在[row, col]位置的值。
Remarks
当获取值时,如果列索引超出范围,则返回0.0。 当设置值时,如果列索引超出范围,则不进行任何操作。
See Also