Пример #1
0
        /// <summary>
        ///		The copy constructor
        /// </summary>
        /// <param name="info"></param>
        private TransformInfo(TransformInfo info)
        {
            OffsetX = info.OffsetX;
            OffsetY = info.OffsetY;
            OffsetZ = info.OffsetZ;

            ScaleX = info.ScaleX;
            ScaleY = info.ScaleY;
            ScaleZ = info.ScaleZ;

            RotationDegX = info.RotationDegX;
            RotationDegY = info.RotationDegY;
            RotationDegZ = info.RotationDegZ;
        }
Пример #2
0
 public MRecipe()
     : base()
 {
     TransformInfo = new TransformInfo();
     Plates        = new ObservableCollection <MRecipePlate>();
 }
Пример #3
0
 public MRecipe(MRecipePlate plate, TransformInfo transformInfo)
     : this(plate)
 {
     TransformInfo = transformInfo;
 }