MissingEdgeType屬性
套用至
視覺物件:ArcFinder, LineFinder, ArcInspector, LineInspector, BoxFinder, CornerFinder
說明
設定/傳回處理遺失Edge的方法。
用途
VGet Sequence.Object.MissingEdgeType, var
VSet Sequence.Object.MissingEdgeType, value
- Sequence
- 表示序列名稱的字串變數
- Object
- 物件名稱或表示物件名稱的字串變數。物件必須存在於指定序列中。
- var
- 表示屬性值的整數變數
- value
- 表示新屬性值的整數或運算式
數值
- 1 - Interpolate
- 視覺常數:VISION_MISSINGEDGETYPE_INTERPOLATED
- 從鄰近Edge判定Edge位置。
- 2 - StartPoint
- 視覺常數:VISION_MISSINGEDGETYPE_STARTPOINT
- 將Edge位置設為Edge搜尋的起點。
- 3 - EndPoint
- 視覺常數:VISION_MISSINGEDGETYPE_ENDPOINT
- 將Edge位置設為Edge搜尋的終點。
- 4 - Zero
- 視覺常數:VISION_MISSINGEDGETYPE_ZERO
- 將Edge位置設為零(位於直線或弧線上)
預設:1 - Interpolate
詳細說明
使用MissingEdgeType以指定如何處理在用來尋找或檢查直線或弧線的Edge搜尋期間遺失的Edge。
提示
在目前版本中,變更MissingEdgeType的數值不會影響視覺物件 ArcFinder、LineFinder、BoxFinder和CornerFinder的動作。因此,可以任意設定MissingEdgeType,不需要設定為特定值。
參考
ArcFinder物件、LineFinder物件、ArcInspector物件、LineInspector物件、BoxFinder物件、CornerFinder物件
← MinY結果 ModelColor屬性 →