VisualPOVRAY.Point3.render C# (CSharp) Method

render() public method

public render ( ) : List
return List
        public List<string> render()
        {
            List<string> l = new List<string>();
            l.Add("<" + this.x + ", " + this.y + ", " + this.z + ">");
            return l;
        }

Usage Example

Beispiel #1
0
        public List <string> render()
        {
            List <string> rend = new List <string>();

            rend.Add("blob {");
            rend.Add("    threshold " + threshold);
            foreach (PovObj obj in blob)
            {
                List <string> temp = obj.render();
                for (int i = 0; i < temp.Count; i++)
                {
                    if (i == 1)
                    {
                        rend.Add("    " + temp[i] + ", 1");
                    }
                    else
                    {
                        rend.Add("    " + temp[i]);
                    }
                }
            }
            rend.Add("    rotate " + rot.render()[0]);
            rend.Add("    translate " + trans.render()[0]);
            rend.Add("}");
            return(rend);
        }
All Usage Examples Of VisualPOVRAY.Point3::render