Mat43Item(Int32, Int32) Property |
返回用户文档首页
获取或设置矩阵中指定位置的值。
Namespace: LoongCAD.GeometryAssembly: LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntaxpublic 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