Пример #1
0
        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);
        }
Пример #2
0
        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);
        }