Owning Palette: Computational Geometry VIs
Requires: Full Development System
Verifies whether a point is inside a polygon.
Wire data to the x or y input to determine the polymorphic instance to use or manually select the instance.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
x specifies the x-coordinate of the point. | |||||||
y specifies the y-coordinate of the point. | |||||||
Polygon X specifies the x-coordinates of the vertices of the polygon. The length of Polygon X must be greater than or equal to 3. | |||||||
Polygon Y specifies the y-coordinates of the vertices of the polygon. The length of Polygon Y must equal the length of Polygon X. | |||||||
tolerance controls the accuracy of verifying whether a point lies on the boundary. The default is 1E–9. If tolerance is less than 0, the VI sets tolerance to 1E–9. | |||||||
position specifies the position of the given point relative to the polygon.
|
|||||||
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
X specifies the x-coordinates of the points. | |||||||
Y specifies the y-coordinates of the points. The length of Y must equal the length of X. | |||||||
Polygon X specifies the x-coordinates of the vertices of the polygon. The length of Polygon X must be greater than or equal to 3. | |||||||
Polygon Y specifies the y-coordinates of the vertices of the polygon. The length of Polygon Y must equal the length of Polygon X. | |||||||
tolerance controls the accuracy of verifying whether a point lies on the boundary. The default is 1E–9. If tolerance is less than 0, the VI sets tolerance to 1E–9. | |||||||
Position specifies the positions of given points relative to the polygon.
|
|||||||
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |