antenna.Polygon
Create polygon on xy-plane
Description
Use the antenna.Polygon
object to create a polygonal board
shape centered at the origin and on the xy-plane. You can use
antenna.Polygon
to create single-layer or multi-layered antennas
using pcbStack
.
Creation
Description
polygon = antenna.Polygon
creates a polygon shape
centered at the origin and on the xy-plane.
polygon = antenna.Polygon(
sets properties using one or more name–value arguments.
PropertyName=Value
)PropertyName
is the property name and
Value
is the corresponding value. You can specify
several name-value arguments in any order as
PropertyName1=Value1,...,PropertyNameN=ValueN
.
Properties that you do not specify, retain their default values.
For example, pol = antenna.Polygon(Name="polygon-1")
creates a polygon with polygon-1
name.
Properties
Object Functions
add | Perform Boolean unite operation on two shapes |
subtract | Perform Boolean subtraction operation on two shapes |
intersect | Generate and plot intersection of two shapes |
plus | Join two shapes |
minus | Carve a shape from other shape |
and | Perform Boolean intersection operation on two shapes |
area | Calculate area of 2-D shapes in square meters |
show | Display antenna, array structures, shapes, or platform |
plot | Plot boundary of 2-D shape |
mesh | Generate and view mesh for antennas, arrays, and custom shapes |
rotate | Rotate shape about axis by angle |
rotateX | Rotate shape about x-axis by angle |
rotateY | Rotate shape about y-axis by angle |
rotateZ | Rotate shape about z-axis by angle |
translate | Move shape to new location |
scale | Change size of shape by fixed factor |
mirrorX | Mirror shape along x-axis |
mirrorY | Mirror shape along y-axis |
removeHoles | Remove holes from shape |
removeSlivers | Remove sliver outliers from shape boundary |
Examples
Version History
Introduced in R2017a