# GeometricPolygon Class

The geometric polygon.

## Inheritance Hierarchy

System..::..Object

System.Spatial..::..Geometry

System.Spatial..::..GeometricSurface

System.Spatial..::..GeometricPolygon

**Namespace:** System.Spatial

**Assembly:** System.Spatial (in System.Spatial.dll)

## Syntax

```
'Declaration
<DataContractAttribute> _
Public MustInherit Class GeometricPolygon _
Inherits GeometricSurface
'Usage
Dim instance As GeometricPolygon
```

```
[DataContractAttribute]
public abstract class GeometricPolygon : GeometricSurface
```

```
[DataContractAttribute]
public ref class GeometricPolygon abstract : public GeometricSurface
```

```
[<AbstractClassAttribute>]
[<DataContractAttribute>]
type GeometricPolygon =
class
inherit GeometricSurface
end
```

```
public abstract class GeometricPolygon extends GeometricSurface
```

The GeometricPolygon type exposes the following members.

## Constructors

Name | Description | |
---|---|---|

GeometricPolygon | Creates a new instance of the GeometricPolygon class. |

Top

## Properties

Name | Description | |
---|---|---|

CoordinateSystem | The SRID of this instance of geometry. (Inherited from Geometry.) | |

IsEmpty | The is geometry empty. (Inherited from Geometry.) | |

Rings | The set of rings. |

Top

## Methods

Name | Description | |
---|---|---|

CopyFrom | The copy initializer. (Inherited from Geometry.) | |

Equals(Object) | Determines whether this instance and another specified geometry instance have the same value. (Inherited from Geometry.) | |

Equals(Geometry) | Determines whether this instance and another specified geometry instance have the same value. (Inherited from Geometry.) | |

Equals(Geometry, SpatialEquality) | (Inherited from Geometry.) | |

Finalize | (Inherited from Object.) | |

GetHashCode() () () () | Computes the hash code for this geometry instance. (Inherited from Geometry.) | |

GetHashCode(SpatialEquality) | Computes the hash code for this geometry instance using the given spatial equality instance. (Inherited from Geometry.) | |

GetType | (Inherited from Object.) | |

MemberwiseClone | (Inherited from Object.) | |

SendTo | Sends the current spatial object to the given pipeline. (Inherited from Geometry.) | |

ToString | (Inherited from Object.) |

Top

## Extension Methods

Name | Description | |
---|---|---|

Area | The geometric area. (Defined by GeometryOperationsExtensions.) | |

Boundary | The geometric boundary. (Defined by GeometryOperationsExtensions.) | |

Buffer | The geometric buffer. (Defined by GeometryOperationsExtensions.) | |

Centroid | The geometric centroid. (Defined by GeometryOperationsExtensions.) | |

Contains | The geometric contains. (Defined by GeometryOperationsExtensions.) | |

ConvexHull | The geometric convex hull. (Defined by GeometryOperationsExtensions.) | |

Crosses | The geometric crosses. (Defined by GeometryOperationsExtensions.) | |

Difference | The geometric difference. (Defined by GeometryOperationsExtensions.) | |

Distance | The geometric distance. (Defined by GeometryOperationsExtensions.) | |

Envelope | The geometric envelope. (Defined by GeometryOperationsExtensions.) | |

GeometricEquals | The geometric equals. (Defined by GeometryOperationsExtensions.) | |

GetBounds | The geometric get bounds. (Defined by GeometryOperationsExtensions.) | |

Intersection | The geometric intersection. (Defined by GeometryOperationsExtensions.) | |

Intersects | The geometric intersects. (Defined by GeometryOperationsExtensions.) | |

IsSimple | The geometric is simple. (Defined by GeometryOperationsExtensions.) | |

IsValid | The geometric is valid. (Defined by GeometryOperationsExtensions.) | |

MakeValid | The geometric make valid. (Defined by GeometryOperationsExtensions.) | |

Overlaps | The geometric overlaps. (Defined by GeometryOperationsExtensions.) | |

PointOnSurface | The geometric point on surface. (Defined by GeometryOperationsExtensions.) | |

Reduce | The geometric reduce. (Defined by GeometryOperationsExtensions.) | |

SymmetricDifference | The geometric symmetric difference. (Defined by GeometryOperationsExtensions.) | |

Touches | The geometric touches. (Defined by GeometryOperationsExtensions.) | |

Union | The geometric union. (Defined by GeometryOperationsExtensions.) | |

Within | The geometric within. (Defined by GeometryOperationsExtensions.) |

Top

## Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.