Exemple #1
0
 public void ParseBeginWinding(string[] elements)
 {
     // We shouldn't be here without an open WindingCollection
     if (this.currentPolygonWindingCollection != null)
     {
         DSFPolygonPointWinding winding = new DSFPolygonPointWinding();
         this.currentPolygonWinding = winding;
     }
 }
Exemple #2
0
        public void ParseEndPolygonWinding(string[] elements)
        {
            if (this.currentPolygonWindingCollection.Windings == null)
            {
                this.currentPolygonWindingCollection.Windings = new List <DSFPolygonPointWinding>();
            }

            this.currentPolygonWindingCollection.Windings.Add(this.currentPolygonWinding);
            this.currentPolygonWinding = null;
        }