Geometry Controls

NI Vision Builder

Measure Features Tab

Geometry Controls

Main Tab

The following controls are available on the Main tab.

Control Name Description
Step Name Name to give the step.
Geometric Feature Geometric feature you want to compute based on points you located during a previous step. The following options are available:
  •   Distance—Computes the distance between two selected points.
  •   Mid Point—Finds the center of a segment defined by two selected points.
  •   Perpendicular Projection—Locates the perpendicular projection of the third point you selected on a line specified by the first two points you selected.
  •   Lines Intersection—Locates the intersection of the lines specified by the first two points you select and the last two points you select.
  •   Angle from Horizontal—Finds the counterclockwise angle from the horizontal axis to a line specified by two points.
  •   Angle from Vertical—Finds the counterclockwise angle from the vertical axis to a line specified by two points.
  •   Angle Defined by 3 Points—Finds the counterclockwise angle between three points, where the second point is the vertex.
  •   Angle Defined by 4 Points—Finds the counterclockwise angle between the lines specified by the first two points you select and the last two points you select.
  •   Bisecting Line—Finds the line bisecting the counterclockwise angle formed by two lines, where the first two points you select create the first line and the second two points you select create the second line.
  •   Mid Line—Finds a line midway between the line specified by the first two points you select and the third point you select. The new line is parallel to the line specified by the first two points you select.
  •   Center of Mass—Finds the center of mass of two or more points you select.
  •   Area—Computes the area of a polygon, where the vertices are points you select.
  •   Line Fit—Fits a straight line to a set of two or more points.
  •   Circle Fit—Fits a circle to a set of three or more points.
  •   Ellipse Fit—Fits an ellipse to a set of six or more points.
Available Points Lists the points you can use to calculate the selected Geometric Feature. Click the points in the order that you want the step to consider them when calculating the geometric feature. You can also use the value of point variables to calculate the geometric feature.

Limits Tab

The controls in this tab vary depending on the Geometric Feature selected on the Main tab. The following controls are available on the Limits tab.

Distance

Control Name Description
Minimum Distance When enabled, the minimum allowable distance between the selected points for the step to pass.
Maximum Distance When enabled, the maximum allowable distance between the selected points for the step to pass.

Mid Point

Control Name Description
X Position When enabled, the minimum and maximum x-coordinate positions in which the midpoint must lie for the step to pass.
Y Position When enabled, the minimum and maximum y-coordinate positions in which the midpoint must lie for the step to pass.

Perpendicular Projection

Control Name Description
X Position When enabled, the minimum and maximum x-coordinate positions in which the projection point must lie for the step to pass.
Y Position When enabled, the minimum and maximum y-coordinate positions in which the projection point must lie for the step to pass.
Distance Point Line When enabled, the minimum and maximum allowable distance between the third point you selected and the line specified by the first two points you selected.

Lines Intersection

Control Name Description
X Position When enabled, the minimum and maximum x-coordinate positions in which the intersection point must lie for the step to pass.
Y Position When enabled, the minimum and maximum y-coordinate positions in which the intersection point must lie for the step to pass.

Angle from Horizontal

Control Name Description
Minimum Angle (Degrees) When enabled, the minimum counterclockwise angle at which the line can be located from the horizontal axis for the step to pass.
Maximum Angle (Degrees) When enabled, the maximum counterclockwise angle at which the line can be located from the horizontal axis for the step to pass.

Angle from Vertical

Control Name Description
Minimum Angle (Degrees) When enabled, the minimum counterclockwise angle at which the line can be located from the vertical axis for the step to pass.
Maximum Angle (Degrees) When enabled, the maximum counterclockwise angle at which the line can be located from the vertical axis for the step to pass.

Angle Defined by 3 Points

Control Name Description
Minimum Angle (Degrees) When enabled, the minimum allowable counterclockwise angle between the lines for the step to pass.
Maximum Angle (Degrees) When enabled, the maximum allowable counterclockwise angle between the lines for the step to pass.

Angle Defined by 4 Points

Control Name Description
Minimum Angle (Degrees) When enabled, the minimum allowable counterclockwise angle between the lines for the step to pass.
Maximum Angle (Degrees) When enabled, the maximum allowable counterclockwise angle between the lines for the step to pass.

Bisecting Line

This geometric feature does not have limits to set.

Mid Line

This geometric feature does not have limits to set.

Center of Mass

Control Name Description
X Position When enabled, the minimum and maximum x-coordinate positions in which the center of mass must lie for the step to pass.
Y Position When enabled, the minimum and maximum y-coordinate positions in which the center of mass must lie for the step to pass.

Area

Control Name Description
Minimum Area When enabled, the minimum allowable area within the polygon formed by connecting the selected points.
Maximum Area When enabled, the maximum allowable area within the polygon formed by connecting the selected points.

Line Fit

Control Name Description
Minimum Angle (Degrees) When enabled, the minimum counterclockwise angle at which the line can be located from the horizontal axis for the step to pass.
Maximum Angle (Degrees) When enabled, the maximum counterclockwise angle at which the line can be located from the horizontal axis in order for the step to pass.
Allowable Deviation (Pixels) When enabled, the maximum distance points can deviate from the fitted line.

Circle Fit

Control Name Description
Circle Center X When enabled, the minimum and maximum x-coordinate positions in which the center of the circle must lie for the step to pass.
Circle Center Y When enabled, the minimum and maximum y-coordinate positions in which the center of the circle must lie for the step to pass.
Circle Radius When enabled, the minimum and maximum lengths in which the radius must lie for the step to pass.
Circle Area When enabled, the minimum and maximum allowable area within the circle for the step to pass.
Allowable Deviation (Pixels) When enabled, the maximum distance points can deviate from the fitted circle.

Ellipse Fit

Control Name Description
Ellipse Center X When enabled, the minimum and maximum x-coordinate positions in which the center of the ellipse must lie for the step to pass.
Ellipse Center Y When enabled, the minimum and maximum y-coordinate positions in which the center of the ellipse must lie for the step to pass.
Ellipse Major Axis When enabled, the minimum and maximum allowable lengths of the major axis of the fitted ellipse.
Ellipse Minor Axis When enabled, the minimum and maximum allowable lengths of the minor axis of the fitted ellipse.
Ellipse Area The minimum and maximum allowable area within the ellipse for the step to pass.