Closest Points BF

Determines the smallest distance between two 2D point sets of the same type using the brute force method.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Output values
- Count Results: Is incremented when a new result is provided.
- hr: HRESULT error code that outputs the result of the processing.
- Minimum Distance: Minimum distance between the points of two point sets.
- Point 1: Point of the first set of points with which the minimum distance was determined.
- Point 2: Point of the second point set with which the minimum distance was determined.
- Image: Initial image of the algorithm.
- New Result: (Optional) TRUE if a new result is provided.