Research Article
Achievement of Various Widebands: A Design of Wide-Slot Antennas Using Shape Blending
Algorithm 1
Polygon shapeBlending pseudocode.
| Polygon shapeBlending(Polygon A, Polygon B, double t) | | { | | for i from 1 to n. | | { | | Get Ai’s coordinate xai, yai. | | Get Bi’s coordinate xbi, ybi. | | Calculate Ci’s coordinate: xci = (1 − t)xai + txbi, yci = (1 − t)yai + tybi. | | } | | Construct polygon C with points Ci, 1 ≤ i ≤ n | | } |
|