Calc Intersections between Line Segment and Circle¶
Function¶
This Step is used to calculate the pixel-wise coordinate of the intersections between a circle and a line segment.
Usage Scenario¶
This Step is generally used to locate object feature points in measurement scenarios.
Input and Output¶
Parameter Tuning¶
Intersection Type
Description: specifies the type of intersection you want to calculate.Value list: Line Extension, Within EndpointsDefault value: Within Endpoints
Within Endpoints: calculates the intersections within the endpoints of a line segment. If the line segment does not intersect with the circle, the output intersection information will be null.
Line Extension: calculates the intersections on the line extension of the line segment. If the line extension and the circle do not intersect, the output intersection information will be null.
As shown below, the figure on the left shows the calculated result when the intersection type is Line Extension and the figure on the right shows the calculated result when the intersection type is Within Endpoints. The blue point represents the intersection.