Calc Intersections between Line Segment and Circle

You are currently viewing the documentation for version 2.0.0. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

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

calc intersections between line segment and circle intersec line circle

Parameter Tuning

Intersection Type

Description: Specifies the type of intersection you want to calculate.

Value list: Line Extension and Within Endpoints.

Default value: Within Endpoints

  • Within Endpoints: Calculate 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: Calculate 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.

calc intersections between line segment and circle circle intersec compare

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.