
# ICMP_PolygonGeometry interface

*No description yet.*

```csharp
public interface ICMP_PolygonGeometry : ICMP_Geometry
```

**Namespace:** EDP · **Assembly:** Altium.SDK.Interfaces

**Inherits:** [ICMP_Object](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md) → [ICMP_PCBObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_PCBObject.md) → [ICMP_Geometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Geometry.md)

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddContour](#addcontour) | `void` |  |
| [AddNewContour](#addnewcontour) | [ICMP_ContourGeometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_ContourGeometry.md) |  |
| [ClearAll](#clearall) | `void` |  |
| [DeleteContour](#deletecontour) | `void` |  |
| [GetContour](#getcontour) | [ICMP_ContourGeometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_ContourGeometry.md) |  |
| [GetContourCount](#getcontourcount) | `int` |  |

### AddContour

*No description yet.*

```csharp
void AddContour(ICMP_ContourGeometry argContour);
void AddContour(object argContour);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argContour` | [ICMP_ContourGeometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_ContourGeometry.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `ICMP_PolygonGeometryHelper` (`using EDP;`) with typed parameters; the second is declared by the interface.

### AddNewContour

*No description yet.*

```csharp
ICMP_ContourGeometry AddNewContour();
```

**Returns:** [ICMP_ContourGeometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_ContourGeometry.md)

Extension method of `ICMP_PolygonGeometryHelper` (`using EDP;`).

### ClearAll

*No description yet.*

```csharp
void ClearAll();
```

**Returns:** nothing (`void`)

### DeleteContour

*No description yet.*

```csharp
void DeleteContour(int argIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |

**Returns:** nothing (`void`)

### GetContour

*No description yet.*

```csharp
ICMP_ContourGeometry GetContour(int argIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |

**Returns:** [ICMP_ContourGeometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_ContourGeometry.md)

Extension method of `ICMP_PolygonGeometryHelper` (`using EDP;`).

### GetContourCount

*No description yet.*

```csharp
int GetContourCount();
```

**Returns:** `int`

## Inherited members

- From [ICMP_Geometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Geometry.md): [GetBoundingRect](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Geometry.md#getboundingrect), [GetDescription](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Geometry.md#getdescription), [GetGeometryKind](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Geometry.md#getgeometrykind), [LineWidth](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Geometry.md#linewidth)
- From [ICMP_Object](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md): [Clone](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#clone), [CopyFrom](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#copyfrom), [GetObjectKind](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#getobjectkind), [GetTopParent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#gettopparent), [Handle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#handle), [ParentObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Object.md#parentobject)

## Returned by

[ICMP_ComparisonServer.CreatePolygonGeometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_ComparisonServer.md#createpolygongeometry), [ICMP_PCBGeometryConverter.GetPCBGeometricPolygonGeometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_PCBGeometryConverter.md#getpcbgeometricpolygongeometry), [ICMP_Region.GetGeometry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Region.md#getgeometry)
