eda_pcb_math_polygon_discretize
Convert a single polygon boundary into an array of discrete points for PCB geometry processing. Use this to transform polygon shapes into point data for further analysis.
Instructions
pcb_MathPolygon.discretize(polygon: IPCB_Polygon | TPCB_PolygonSourceArray, options?: IPCB_DiscretizeOptions) -> Promise<Array> 将单多边形离散化为点数据 remarks: 将单多边形的边界离散化为一系列点 returns: 离散化点数据
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |