Table of Contents

Class MillingTemperatureUtil

Namespace
Hi.Physics
Assembly
HiMech.dll

Utility class for calculating and managing temperatures during milling operations.

public static class MillingTemperatureUtil
Inheritance
MillingTemperatureUtil
Inherited Members

Methods

GetMaterial(IGetThermalLayerList, double)

Gets the thermal material at the specified depth from a thermal layer list.

public static IStructureMaterial GetMaterial(this IGetThermalLayerList host, double depth_mm)

Parameters

host IGetThermalLayerList

The object providing the thermal layer list.

depth_mm double

The depth in millimeters at which to get the material.

Returns

IStructureMaterial

The thermal material at the specified depth, or the last material in the list if the depth exceeds all layers.

GetTemperatureVsHardnessCurveByXElements(IEnumerable<XElement>)

Creates a list of temperature vs hardness data from XML elements.

public static List<TemperatureVsHardness> GetTemperatureVsHardnessCurveByXElements(IEnumerable<XElement> temperatureVsHardnessXElements)

Parameters

temperatureVsHardnessXElements IEnumerable<XElement>

The XML elements containing temperature vs hardness data.

Returns

List<TemperatureVsHardness>

A list of temperature vs hardness data points.

ToXElements(IEnumerable<TemperatureVsHardness>)

Converts a collection of temperature vs hardness data to XML elements.

public static IEnumerable<XElement> ToXElements(this IEnumerable<TemperatureVsHardness> src)

Parameters

src IEnumerable<TemperatureVsHardness>

The source collection of temperature vs hardness data.

Returns

IEnumerable<XElement>

A collection of XML elements representing the temperature vs hardness data.