angle1 | real (start angle, 0.0...359.9°) |
angle2 | real (end angle, 0.0...719.9°) |
layer | int |
radius | int |
width | int |
x1, y1 | int (starting point) |
x2, y2 | int (end point) |
xc, yc | int (center point) |
See also UL_BOARD, UL_PACKAGE, UL_SHEET, UL_SYMBOL
Note
Start and end angles are defined mathematically positive (i.e. counterclockwise), with angle1 < angle2.
Example
board(B) {
B.arcs(A) {
printf("Arc: (%d %d), (%d %d), (%d %d)\n",
A.x1, A.y1, A.x2, A.y2, A.xc, A.yc);
}
}
Index | Copyright © 1999 CadSoft Computer GmbH |