InsideBox方法
描述
傳回接近檢查區域的檢查狀態。
語法
Function InsideBox (BoxNumber As Integer) As Boolean
參數
- BoxNumber
介於1至15的整數運算式,代表要傳回狀態的接近檢查區域。
傳回值
若機器人夾具末端位於指定工作空間內,會傳回True,否則會傳回False。
另請參閱
Box方法, InsidePlane方法
InsideBox範例
VB 例:
Dim isInside As Boolean
isInside = m_spel.InsideBox(1)
C# 例:
bool isInside;
isInside = m_spel.InsideBox(1);