public static Triangle MakeEmpty() { Triangle ret = new Triangle(); ret.Name = "Triangle"; ret.Base = 0.0; ret.Height = 0.0; return ret; }
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; }