Point: Intersection (deterministic)
point_intersectionComputes the intersection point of two geometry entities (line-line, line-circle, circle-circle) and optionally selects the nearest candidate using reference coordinates.
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}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"handle1": "<handle1>",
"handle2": "<handle2>"
},
"name": "point_intersection"
}
}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 | |||