AngleStart属性
适用
视觉对象: ArcFinder、ArcInspector、Contour、Correlation、Edge、Geometric、GeometricPlus
说明
设定角度搜索的中心、或搜索圆弧的范围的开始角度。
用法
VGet Sequence.Object.AngleStart, var
VSet Sequence.Object.AngleStart, value
- Sequence
- 序列名或表示序列名的字符串变量
- Object
- 对象名或表示对象名的字符串变量对象必须存在于指定的序列中。
- var
- 表示属性值的实数变量
- value
- 表示新属性值的实数或表达式
值
- Correlation和Geometric时:
- 0 - 360(度)的实数
- 默认:0
- Correlation和Geometric以外:
- AngleEnd - 10 ~ 360(度) 的实数
- 默认:45
详细说明
Correlation或Geometric时,AngleStart设定角度搜索的中心。该属性仅在AngleEnable设为“True”时有效。系统将以AngleStart中的指定角度为中心在AngleRange范围搜索模型。例如,如果AngleStart为45度,AngleRange为10度,则系统将在35至55度搜索。
对于ArcFinder、ArcInspector、Contour(ContourMode=Arc)、Edge(SearchType=Arc),AngleStart设定圆弧检测及检查范围的开始位置。圆弧的检测及检查范围为AngleStart与AngleEnd之间。
参照
Angle结果, AngleEnable属性, AngleEnd属性, AngleMaxIncrement属性, AngleRange属性, ArcFinder对象, ArcInspector对象, Contour 对象, Correlation对象, Edge对象, Geometric对象, GeometricPlus对象