Beispiel #1
0
 public static Triangle MakeEmpty()
 {
     Triangle ret = new Triangle();
     ret.Name = "Triangle";
     ret.Base = 0.0;
     ret.Height = 0.0;
     return ret;
 }
Beispiel #2
0
 public static Triangle Make(string name, double width, double height)
 {
     Triangle ret = new Triangle();
     ret.Name = name;
     ret.Base = width;
     ret.Height = height;
     return ret;
 }