eda_sys_math_rotate
Rotates a polygon by a given angle around a center point, returning the rotated discrete points for use in EDA projects.
Instructions
sys_Math.rotate(polygon: TSYS_MathPolygonInput, angle: number, centerX?: number, centerY?: number) -> Array 旋转多边形 returns: 旋转后的离散点数组
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |