beautypg.com

Centery property – Epson 5 User Manual

Page 49

background image

CenterY Property

CenterY Property

Applies To

Vision Objects: Polar

Description

Specifies the Y Coordinate position to be used as the center point for the Polar object.

Usage

VGet Sequence.Object.CenterY, var

VSet Sequence.Object.CenterY, value

Sequence Name of a sequence or string variable containing a sequence name.

Object

Name of an object or string variable containing an object name. The object must exist in the
specified sequence.

var

Real variable that will contain the value of the property.

value

Real expression for the new value of the property.

Values

Real number from 1 – (video width in pixels – 1). However, we must take into account the value of the
Radius property for the Polar object since the center of the Polar object cannot be at the edge of the
Camera's field of view. Therefore, the actual range is:

(0 + Radius) - (Max Camera Y Resolution – Radius – 1)

For example, an image resolution of 640x480 and a 16 pixel radius gives a range of 16 - 463.

Default: Y coordinate Screen Position of the center of the Polar object

Remarks

This property is filled in automatically when the CenterPointObject property for a Polar object is set to
another vision object. However, if the CenterPointObject property for a Polar object is set to Screen, then
the user may set the CenterY property to position the Polar object.

The user may also set the CenterPointObject property for a Polar object automatically by physically
dragging the Polar object to a new position on the screen. When this drag operation is done, the CenterY
property is automatically updated with the new CenterY position of the Polar object.

See Also

CenterX Property, CenterPoint, Object Tab, Polar Object

Vision Guide 5.0 Reference (Ver.5.3) Rev.1

35