/// <summary> /// Add an existing linked loop to the current polygon /// </summary> /// <param name="loop">Reference to loop</param> /// <returns></returns> public LinkedGeoLoop AddLinkedLoop(LinkedGeoLoop loop) { _geoLoops.AddLast(loop); return(loop); }
/// <summary> /// Add a new linked loop to the current polygon /// </summary> /// <returns>Reference to loop</returns> public LinkedGeoLoop AddNewLinkedLoop() { var loop = new LinkedGeoLoop(); return(AddLinkedLoop(loop)); }