返回用户文档首页
            获取或设置指定索引处的值。
            
Namespace: LoongCAD.GeometryAssembly: LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.17 (2025.0.9.17)
Syntaxpublic int this[
	int idx
] { get; set; }Parameters
- idx  Int32
 - 向量的索引。有效值为0到3。
 
Return Value
Int32如果索引为0,则返回X值;如果为1,则返回Y值;如果为2,则返回Z值;如果为3,则返回W值;如果索引无效,则返回0。
Exceptions| Exception | Condition | 
|---|
| ArgumentOutOfRangeException | 如果索引不在0到3的范围内。 | 
See Also