StartPointType Property
Remarks
As you can see in the Values Table above, most of the StartPointObject's support only 1 StartPointType
called Point. This is because most StartPointObject's use the PixelX and PixelY position for a reference
position for defining a Start or End Point for a line. So when the StartPointObject is defined as Screen,
Blob, Correlation, Edge, or Point object the StartPointType will always be set to Point.
)
NOTE
The range of valid values for StartPointType depend on the StartPointObject.
However, when the StartPointObject 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 Use the end point of the other line as the endpoint for this line.
2 - MidPoint Cut the other line in half and use the center (or midpoint of the other line as the
endpoint for this line.
3 - Perpendicular Calculate the position on the 2nd line where the 2 lines intersect in a perpendicular
fashion and use this position as the end point.
4 - StartPoint Use the starting point of the other line as the end point for this line.
5 - PerpToStartPnt Calculate the position on the 2nd line where the 2 lines intersect in a perpendicular
fashion through the start point of the first line and use this position as the start point.
6 - PerpToMidPnt Calculate the position on the 2nd line where the 2 lines intersect in a perpendicular
fashion through the mid point of the first line and use this position as the start point.
7 - PerpToEndPnt Calculate the position on the 2nd line where the 2 lines intersect in a perpendicular
fashion through the end point of the first line and use this position as the start point.
If the StartPointObject is modified to a Line object then the StartPointType is automatically changed to
MidPoint.
If the StartPointObject is modified to Screen, Blob, Correlation, Edge, or Point object then the
StartPointType is automatically changed to Point.
See Also
Edge Object, EndPointType Property, Line Object, Object Tab, StartPointObject Property
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 165