public override bool draw(WireframeObject3D obj) // siatkowy { if (obj.GetLineWidth() > 1.0) { return(false); } string toReturn = String.Format("{0} rysuje siatkowy obiekt o nazwie '{1}' i grubosci linii: '{2}'", this.ToString(), obj.GetName(), obj.GetLineWidth()); System.Console.WriteLine(toReturn); return(true); }
//public abstract bool draw(Quad3D obj); //public abstract bool draw(Segment3D obj); //public abstract bool draw(Triangle3D obj); //public abstract bool draw(WireMesh3D obj); public abstract bool draw(WireframeObject3D obj);