Download Print this page

Endpointtype Property - Epson 5 Reference Manual

Epson rc+ 5.0 option ver.5.3 properties and results reference
Hide thumbs Also See for 5:

Advertisement

EndPointType Property

EndPointType Property
Applies To
Vision Objects: Edge, Line
Description
Specifies the type of end point to use for the line object. In most cases the end point type will be a point
(which usually means the PixelX and PixelY position of the EndPointObject). However, when the
EndPointObject for the current line is a 2nd Line object, the EndPointType property is used to define an
intersection point on the 2nd line such as the lines midpoint, endpoint, startpoint or perpendicular position.
Usage
VGet Sequence.Object.EndPointType, var
VSet Sequence.Object.EndPointType, 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
Integer variable that will contain the value of the property.
value
Integer expression for the new value of the property.
Values
EndPointObject = Line
See remarks.
Default: 2 - MidPoint
Remarks
As you can see in the Values Table above, most of the EndPointObject's support only 1 EndPointType
called Point. This is because most EndPointObject's use the PixelX and PixelY position for a reference
position for defining a Start or End Point for a line. So when the EndPointObject is defined as Screen,
Blob, Correlation, Edge, or Point, the EndPointType will always be set to 0 - Point.
NOTE
The range of valid values for EndPointType depend upon the EndPointObject.
However, when the EndPointObject is another Line object, the user must decide where on the 2nd line to
intersect with the 1st line. The choices are as follows:
1 - EndPoint
2 - MidPoint
3 - Perpendicular
4 - StartPoint
5 - PerpToStartPnt Calculate the position on the 2nd line where the 2 lines intersect in a perpendicular
48
EndPointObject = Screen, Blob, Correlation, Geometric, Edge,
or Point object
0 - Point
When used with objects other than the Line object, the EndPointType
can only be of type Point.
Default: 0 - Point
Use the end point of the other line as the endpoint for this line.
Cut the other line in half and use the center (or midpoint of the other line as the
endpoint for this line.
Calculate the position on the 2nd line where the 2 lines intersect in a perpendicular
fashion and use this position as the end point.
Use the starting point of the other line as the end point for this line.
fashion through the start point of the first line and use this position as the end point.
Vision Guide 5.0 Reference (Ver.5.3) Rev.1

Advertisement

loading

This manual is also suitable for:

Vision guide 5.0