Exemple #1
0
        internal Material(long _id, string _name, float _thickness, MaterialPosToWallAxisPlane _pos, float _accA, int _nr_surf, bool _is_bound2cr, long _bound_crid)
        {
            this.ID        = _id;
            this.Name      = _name;
            this.Thickness = _thickness;
            this.Position  = _pos;

            this.AccArea       = _accA;
            this.NrSurfaces    = _nr_surf;
            this.bound_cr      = null;
            this.is_bound_2_cr = _is_bound2cr;
            this.bound_cr_id   = _bound_crid;
        }
Exemple #2
0
        public Material(string _name, float _thickness, MaterialPosToWallAxisPlane _pos)
        {
            this.ID        = (++Material.NR_MATERIALS);
            this.Name      = _name;
            this.thickness = _thickness;
            this.Position  = _pos;

            this.bound_cr      = null;
            this.is_bound_2_cr = false;
            this.bound_cr_id   = -1;

            this.acc_area   = 0f;
            this.NrSurfaces = 0;
        }