Class SampleInstance
- Namespace
- Hi.MillingForces.Fittings
- Assembly
- HiMech.dll
Represents a sample instance with step and local division indices for milling force analysis.
public class SampleInstance : IEquatable<SampleInstance>
- Inheritance
-
SampleInstance
- Implements
- Inherited Members
- Extension Methods
Constructors
SampleInstance()
Initializes a new instance of the SampleInstance class.
public SampleInstance()
SampleInstance(int, int)
Initializes a new instance of the SampleInstance class with specified step and local division indices.
public SampleInstance(int stepIndex, int localDivisionIndex)
Parameters
Properties
LocalDivisionIndex
Gets or sets the local division index.
public int LocalDivisionIndex { get; set; }
Property Value
StepIndex
Gets or sets the step index.
public int StepIndex { get; set; }
Property Value
Methods
Equals(SampleInstance)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SampleInstance other)
Parameters
other
SampleInstanceAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.