Exemple #1
0
        public override void SetVObject(VOOGGeometryWrap Obj)
        {
            VOOGPolygon vg = Obj.Content as VOOGPolygon;

            vg.Vertices.Clear();
            foreach (Vector2D v in FVertices[this.CurrObj])
            {
                vg.Vertices.Add(new Vector2D(v));
            }
        }
Exemple #2
0
        public override VOOGGeometryWrap ConstructVObject()
        {
            VOOGPolygon vg = new VOOGPolygon();

            foreach (Vector2D v in FVertices[this.CurrObj])
            {
                vg.Vertices.Add(new Vector2D(v));
            }
            return(new VOOGGeometryWrap(vg));
        }