# C1.FlexMap.GeoPolygon

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_FlexMap_GeoPolygon" data-uid="C1.FlexMap.GeoPolygon" class="text-break">GeoPolygon Class
</h1>
  <div class="markdown level0 summary"><p>Represents the geospatial polygon.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.FlexMap.GeoGeometry.html">GeoGeometry</a></div>
    <div class="level2"><a class="xref" href="C1.FlexMap.GeoSurface.html">GeoSurface</a></div>
    <div class="level3"><span class="xref">GeoPolygon</span></div>
      <div class="level4"><a class="xref" href="C1.FlexMap.GeoTriangle.html">GeoTriangle</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.FlexMap.html">C1.FlexMap</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Map.10.dll</h6>
  <h5 id="C1_FlexMap_GeoPolygon_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GeoPolygon : GeoSurface</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GeoPolygon
    Inherits GeoSurface</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_FlexMap_GeoPolygon__ctor_C1_FlexMap_GeoGeometryType_System_Collections_Generic_IEnumerable_C1_FlexMap_GeoLinearRing__" data-uid="C1.FlexMap.GeoPolygon.#ctor(C1.FlexMap.GeoGeometryType,System.Collections.Generic.IEnumerable{C1.FlexMap.GeoLinearRing})">
          <a class="xref" href="C1.FlexMap.GeoPolygon.-ctor.html#C1_FlexMap_GeoPolygon__ctor_C1_FlexMap_GeoGeometryType_System_Collections_Generic_IEnumerable_C1_FlexMap_GeoLinearRing__">GeoPolygon(GeoGeometryType, IEnumerable&lt;GeoLinearRing&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes new instance of <a class="xref" href="C1.FlexMap.GeoPolygon.html">GeoPolygon</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_GeoPolygon__ctor_System_Collections_Generic_IEnumerable_C1_FlexMap_GeoLinearRing__" data-uid="C1.FlexMap.GeoPolygon.#ctor(System.Collections.Generic.IEnumerable{C1.FlexMap.GeoLinearRing})">
          <a class="xref" href="C1.FlexMap.GeoPolygon.-ctor.html#C1_FlexMap_GeoPolygon__ctor_System_Collections_Generic_IEnumerable_C1_FlexMap_GeoLinearRing__">GeoPolygon(IEnumerable&lt;GeoLinearRing&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes new instance of <a class="xref" href="C1.FlexMap.GeoPolygon.html">GeoPolygon</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_FlexMap_GeoPolygon_Bounds" data-uid="C1.FlexMap.GeoPolygon.Bounds">
          <a class="xref" href="C1.FlexMap.GeoPolygon.Bounds.html#C1_FlexMap_GeoPolygon_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the bounds of the geometry.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_GeoPolygon_Center" data-uid="C1.FlexMap.GeoPolygon.Center">
          <a class="xref" href="C1.FlexMap.GeoPolygon.Center.html#C1_FlexMap_GeoPolygon_Center">Center</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the centroid of the geometry.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_GeoPolygon_ExteriorRing" data-uid="C1.FlexMap.GeoPolygon.ExteriorRing">
          <a class="xref" href="C1.FlexMap.GeoPolygon.ExteriorRing.html#C1_FlexMap_GeoPolygon_ExteriorRing">ExteriorRing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the geospatial ring for the line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_GeoPolygon_InteriorRings" data-uid="C1.FlexMap.GeoPolygon.InteriorRings">
          <a class="xref" href="C1.FlexMap.GeoPolygon.InteriorRings.html#C1_FlexMap_GeoPolygon_InteriorRings">InteriorRings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the geospatial rings enumerator of the <a class="xref" href="C1.FlexMap.GeoLinearRing.html">GeoLinearRing</a> items for the line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_GeoPolygon_Is3D" data-uid="C1.FlexMap.GeoPolygon.Is3D">
          <a class="xref" href="C1.FlexMap.GeoPolygon.Is3D.html#C1_FlexMap_GeoPolygon_Is3D">Is3D</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <code>true</code> if the geometry has z-coordinate values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_GeoPolygon_IsEmpty" data-uid="C1.FlexMap.GeoPolygon.IsEmpty">
          <a class="xref" href="C1.FlexMap.GeoPolygon.IsEmpty.html#C1_FlexMap_GeoPolygon_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the value indicating whether the geometry is empty geometry.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_GeoPolygon_IsMeasured" data-uid="C1.FlexMap.GeoPolygon.IsMeasured">
          <a class="xref" href="C1.FlexMap.GeoPolygon.IsMeasured.html#C1_FlexMap_GeoPolygon_IsMeasured">IsMeasured</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <code>true</code> if the geometry has m-coordinate values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_GeoPolygon_PointsCount" data-uid="C1.FlexMap.GeoPolygon.PointsCount">
          <a class="xref" href="C1.FlexMap.GeoPolygon.PointsCount.html#C1_FlexMap_GeoPolygon_PointsCount">PointsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of points used in a geometry.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_GeoPolygon_Rings" data-uid="C1.FlexMap.GeoPolygon.Rings">
          <a class="xref" href="C1.FlexMap.GeoPolygon.Rings.html#C1_FlexMap_GeoPolygon_Rings">Rings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the polygon rings.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
