internal Frame(Point i, Point j, SectionProp secProp, string just, double angle) { BaseCrv = Line.ByStartPointEndPoint(i, j); Angle = angle; SecProp = secProp; Just = just; this.Type = Structure.Type.Frame; //register for cache ID = TracedFrameManager.GetNextUnusedID(); TracedFrameManager.RegisterFrmforID(ID, this); }
internal Frame(Line line, SectionProp secProp, string just, double angle) { BaseCrv = line; Angle = angle; SecProp = secProp; Just = just; this.Type = Structure.Type.Frame; //register for cache ID = TracedFrameManager.GetNextUnusedID(); TracedFrameManager.RegisterFrmforID(ID, this); }