Пример #1
0
        /// <summary>
        /// Default constructor
        /// </summary>
        public DimensionalModel()
        {
            Composition = new HashSet <IModelPartComposition>();

            ModelTemplate = new DimensionalModelData
            {
                ModelType = DimensionalModelType.None
            };
        }
Пример #2
0
        /// <summary>
        /// constructor for 0 dimension models
        /// </summary>
        /// <param name="length">Length parameter of the model</param>
        /// <param name="height">Height parameter of the model</param>
        /// <param name="width">Width parameter of the model</param>
        public DimensionalModel(int length, int height, int width, int vacuity, int surfaceCavitation)
        {
            Length            = length;
            Height            = height;
            Width             = width;
            Vacuity           = vacuity;
            SurfaceCavitation = surfaceCavitation;
            Composition       = new HashSet <IModelPartComposition>();

            ModelTemplate = new DimensionalModelData
            {
                ModelType = DimensionalModelType.None
            };
        }