/// <summary> /// Default constructor /// </summary> public DimensionalModel() { Composition = new HashSet <IModelPartComposition>(); ModelTemplate = new DimensionalModelData { ModelType = DimensionalModelType.None }; }
/// <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 }; }