示例#1
0
 /// <summary>
 /// Constructor using RSTAB node
 /// </summary>
 /// <param name="a">RSTAB node for getting the ID and coordinates</param>
 public RRNode(RS_NODE a)
 {
     this.id = a.iNo;
     this.x  = a.x;
     this.y  = a.y;
     this.z  = a.z;
 }
示例#2
0
        /// <summary>
        /// Gets nodes from RSTAB
        /// </summary>
        /// <param name="a">Node count to read</param>
        private void GetRSTABNode(int a)
        {
            try
            {
                RS_NODE[] ns = new RS_NODE[a];
                IData.rsGetNodeArr(a, ns);

                foreach (RS_NODE n in ns)
                {
                    this.obj.AddNode(new RRNode(n));
                }
            }
            catch (Exception e)
            {
                ecd = ErrCode.RSTABNODE;
                ems = e.Message;
                epl = this.GetType().Name + "->" + MethodBase.GetCurrentMethod().Name;
            }
        }