static public IXEP_BarIO CreateBarIO(double x, double y, double diam, double area) { IXEP_BarIO retVal = CreateBarIO(); retVal.X = x; retVal.Y = y; retVal.D = diam; retVal.Area = area; return(retVal); }
public void CreateFrom(IXEP_BarIO barIO, int compID, string matName, int isActive, int isDetailing) { ComponentID = compID; X = barIO.X; Y = barIO.Y; D = barIO.D; RefMaterial = matName; IsActive = isActive; IsDetailing = isDetailing; }