H3Lib/LinkedGeoLoop.cs
/// <summary>
/// Makes a copy of the vertices in the loop 
/// </summary>
/// <returns></returns>
Makes a copy of the vertices in the loop
Makes a copy of the vertices in the loop
private List<LinkedGeoCoord> CopyNodes()
        {
            if (Loop == null || Loop.Count == 0)
            {
                return new List<LinkedGeoCoord>();
            }
            var temp = Enumerable
                      .Range(1, Loop.Count)
                      .Select(s => new LinkedGeoCoord())
                      .ToArray();
            Loop.CopyTo(temp, 0);
            return temp.ToList();
        }
private List < LinkedGeoCoord > CopyNodes ( ) { if ( Loop == null || Loop . Count == 0 ) { return new List < LinkedGeoCoord > ( ) ; } var temp = Enumerable . Range ( 1 , Loop . Count ) . Select ( s => new LinkedGeoCoord ( ) ) . ToArray ( ) ; Loop . CopyTo ( temp , 0 ) ; return temp . ToList ( ) ; }
Makes a copy of the vertices in the loop
Makes a copy of the vertices in the loop
None