# antenna.Triangle

## Description

Use the `antenna.Triangle`

object to create a triangular shape in
the X-Y plane with one vertex at the origin. You can use `antenna.Triangle`

shape to create single-layer or multi-layered antenna using the `pcbStack`

.

## Creation

### Description

`tri=antenna.Triangle`

creates a triangular shape in the X-Y
plane with one vertex at the origin.

`tri=antenna.Triangle(Name=Value)`

creates a triangle, with
additional Properties specified by one or
more name–value arguments. `Name`

is the property name and
`Value`

is the corresponding value. You can specify several
name-value arguments in any order as `Name1`

=
`Value1`

, `...`

,
`NameN`

=`ValueN`

. Properties not specified retain
their default values.

For example, `tri = antenna.Triangle(InputType="SSS",Side=0.01)`

creates a triangle using side-side-side congruence with 10mm side length.

## Properties

## Object Functions

`add` | Add data to polar plot |

`subtract` | Boolean subtraction operation on two shapes |

`intersect` | Boolean intersection operation on two shapes |

`plus` | Shape1 + Shape2 |

`minus` | Shape1 - Shape2 |

`and` | Shape1 & Shape2 |

`area` | Calculate area of shape in square meters |

`show` | Display antenna, array structures or shapes |

`plot` | Plot boundary of shape |

`mesh` | Mesh properties of metal, dielectric antenna, or array structure |

`rotate` | Rotate shape about axis and angle |

`rotateX` | Rotate shape about x-axis and angle |

`rotateY` | Rotate shape about y-axis and angle |

`rotateZ` | Rotate shape about z-axis and angle |

`translate` | Move shape to new location |

`scale` | Change the size of the shape by a fixed amount |

`mirrorX` | Mirror shape along X-axis |

`mirrorY` | Mirror shape along Y-axis |

`removeHoles` | Remove holes from shape |

`removeSlivers` | Remove sliver outliers from boundary of shape |

## Examples

## Version History

**Introduced in R2023a**