Class EngagementLayer
- Namespace
- Hi.Milling.Engagements
- Assembly
- HiMech.dll
Represents a layer of engagement between a tool and workpiece.
public class EngagementLayer : IWriteBin
- Inheritance
-
EngagementLayer
- Implements
- Inherited Members
- Extension Methods
Constructors
EngagementLayer()
Initializes a new instance of the EngagementLayer class
public EngagementLayer()
EngagementLayer(BinaryReader)
Initializes a new instance of the EngagementLayer class by reading from a binary stream
public EngagementLayer(BinaryReader reader)
Parameters
reader
BinaryReaderThe binary reader to read the engagement layer data from
Properties
Dv
Gets or sets the interval value (in millimeters) for either Z coordinate (for side engagement) or R coordinate (for bottom engagement)
public double Dv { get; set; }
Property Value
Ranges
Gets or sets the list of angular ranges where the tool engages with the workpiece. Each range represents a start and end angle in radians.
public List<Range<double>> Ranges { get; set; }
Property Value
Methods
ToString()
Returns a string representation of the engagement layer
public override string ToString()
Returns
- string
A string containing the Dv value and the ranges of engagement angles
WriteBin(BinaryWriter)
Writes the engagement layer data to a binary stream
public void WriteBin(BinaryWriter writer)
Parameters
writer
BinaryWriterThe binary writer to write the data to