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; }
public void setSurfaceRoughnessRa(double surfaceRoughness) { this.surfaceRoughnessRz = ConversionRoughnessRzAndRa.RaToRz(surfaceRoughness); }