eda_sys_math_calculate_area
Calculates the area of a polygon in EasyEDA Pro. Use it to get absolute area for a single polygon or net area for a group of polygons.
Instructions
sys_Math.calculateArea(polygon: TSYS_MathPolygonInput) -> number 计算多边形面积 returns: 面积(单个多边形为绝对面积,多边形组为净面积)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "eda_sys_math_calculate_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |