H3Lib/LinkedGeoPolygon.cs
/// <summary>
/// Add a newly constructed polygon to current polygon.
/// </summary>
/// <returns>Reference to new polygon</returns>
/// <exception cref="Exception"></exception>
Add a newly constructed polygon to current polygon.
Add a newly constructed polygon to current polygon .
public LinkedGeoPolygon AddNewLinkedGeoPolygon()
        {
            if (Next != null)
            {
                throw new Exception("polygon.Next must be null");
            }
            Next = new LinkedGeoPolygon();
            return Next;
        }
public LinkedGeoPolygon AddNewLinkedGeoPolygon ( ) { if ( Next != null ) { throw new Exception ( " " ) ; } Next = new LinkedGeoPolygon ( ) ; return Next ; }
Add a newly constructed polygon to current polygon.
Add a newly constructed polygon to current polygon .
Reference to new polygon
Reference to new polygon
None