Example #1
0
 public ParametersOfSurface(double diameterOfPart,
                            TypeOfPart typeOfPart, TypeOfPart typeOfAllowance, TypeOfPart typeOfProcessedSurface,
                            double surfaceRoughnessRa, double allowance, double holeDepth = 0)
 {
     this.diameterOfPart         = diameterOfPart;
     this.typeOfPart             = typeOfPart;
     this.typeOfAllowance        = typeOfAllowance;
     this.typeOfProcessedSurface = typeOfProcessedSurface;
     this.surfaceRoughnessRz     = ConversionRoughnessRzAndRa.RaToRz(surfaceRoughnessRa);
     this.allowance = allowance;
     this.holeDepth = holeDepth;
 }
Example #2
0
 public void setSurfaceRoughnessRa(double surfaceRoughness)
 {
     this.surfaceRoughnessRz = ConversionRoughnessRzAndRa.RaToRz(surfaceRoughness);
 }