BIMHome v1.0.0
BIMHome接口文档说明

◆ operator[]() [1/2]

template<class _Precision >
_Precision & operator[] ( unsigned short  usIndex)

返回对坐标的引用。

返回对坐标的引用。usIndex 必须在 [0,2] 范围内。

参数
[in]usIndex传入的索引
返回
若索引为0,则返回x;若索引为1,则返回y;若索引为2,则返回z;若索引不在[0,2]范围内,则返回x