예제 #1
0
 /// <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);
 }
예제 #2
0
        /// <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));
        }