예제 #1
0
        public GsaOffset Duplicate()
        {
            if (this == null)
            {
                return(null);
            }
            GsaOffset dup = new GsaOffset
            {
                X1 = m_x1,
                Y  = m_y,
                Z  = m_z,
                X2 = m_x2
            };

            return(dup);
        }
예제 #2
0
        public GsaOffset Duplicate()
        {
            if (this == null)
            {
                return(null);
            }
            GsaOffset dup = new GsaOffset
            {
                X1 = m_x1,
                Y  = m_y,
                Z  = m_z,
                X2 = m_x2
            };

            //dup.m_offset.X1 = dup.X1;
            //dup.m_offset.X2 = dup.X2;
            //dup.m_offset.Y = dup.Y;
            //dup.m_offset.Z = dup.Z;

            return(dup);
        }