Point: Intersection (deterministic)
point_intersectionCompute the intersection point of two lines, line-circle, or circles in AutoCAD, with optional reference coordinates to select the nearest candidate when multiple intersections exist.
Instructions
Compute the intersection of two geometry entities (LINE-LINE, LINE-CIRCLE, CIRCLE-CIRCLE). When two candidates exist, ref_x/ref_y selects the nearest. Returns {x, y}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref_x | No | Reference X to pick nearest candidate when multiple exist | |
| ref_y | No | Reference Y | |
| handle1 | Yes | First entity handle (LINE or CIRCLE) | |
| handle2 | Yes | Second entity handle (LINE or CIRCLE) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||