Class CoatingMaterial
Represents a coating material used in cutting tools.
public class CoatingMaterial : CutterMaterial, ISurfaceMaterial, IStructureMaterial, IMakeXmlSource, IDuplicate, INameNote
- Inheritance
-
CoatingMaterial
- Implements
- Inherited Members
- Extension Methods
Constructors
CoatingMaterial()
Initializes a new instance of the CoatingMaterial class.
public CoatingMaterial()
CoatingMaterial(CoatingMaterial)
Initializes a new instance of the CoatingMaterial class by copying from another instance.
public CoatingMaterial(CoatingMaterial src)
Parameters
src
CoatingMaterialThe source coating material to copy from.
CoatingMaterial(XElement)
Initializes a new instance of the CoatingMaterial class from XML data.
public CoatingMaterial(XElement src)
Parameters
src
XElementThe XML element containing coating material data.
Properties
DefaultFrictionCoefficient
Gets the default friction coefficient for coating materials.
public static double DefaultFrictionCoefficient { get; }
Property Value
PreferedThickness_mm
Gets or sets the preferred thickness of the coating in millimeters.
public double PreferedThickness_mm { get; set; }
Property Value
PreferedThickness_um
Gets or sets the preferred thickness of the coating in micrometers.
public double PreferedThickness_um { get; set; }
Property Value
XName
Name for XML IO.
public static string XName { get; }
Property Value
Methods
Duplicate(params object[])
public object Duplicate(params object[] res)
Parameters
res
object[]
Returns
MakeXmlSource(string, string)
Creates an XML representation of the object. This method may also generate additional resources such as related files.
public override XElement MakeXmlSource(string baseDirectory, string relFile)
Parameters
baseDirectory
stringThe base directory for resolving relative paths
relFile
stringThe relative file path for the XML source
Returns
- XElement
An XML element representing the object's state